I’ve changed one of my computers on my workgroup from Windows XP Pro to OpenSUSE 11.1. Now as far as Samba is concerned I don’t know much on this subject. So here what I need to do on my laptop in order for this to work:
Associate Linux profiles with Windows profiles, for example I have Vista set to use username/password verification so for example to log onto the workgroup the following credentials will be required:
Username = User
Password = Pass
Now to do this before on XP all I had to do is create identical accounts on the XP machine and what were on the Vista machine as the host.
On OpenSUSE I don’t use uppercase usernames so:
Username = user
Password = Pass
How can I set up samba so each user is associated with the Windows profile set up on the Vista machine. Currently every time someone wants to view something that is on the Vista machine they have to enter a username/password every time.
>
> I’ve changed one of my computers on my workgroup from Windows XP Pro to
> OpenSUSE 11.1. Now as far as Samba is concerned I don’t know much on
> this subject. So here what I need to do on my laptop in order for this
> to work:
>
> Associate Linux profiles with Windows profiles, for example I have
> Vista set to use username/password verification so for example to log
> onto the workgroup the following credentials will be required:
>
> Username = User
> Password = Pass
>
> Now to do this before on XP all I had to do is create identical
> accounts on the XP machine and what were on the Vista machine as the
> host.
>
> On OpenSUSE I don’t use uppercase usernames so:
>
> Username = user
> Password = Pass
>
> How can I set up samba so each user is associated with the Windows
> profile set up on the Vista machine. Currently every time someone wants
> to view something that is on the Vista machine they have to enter a
> username/password every time.
>
>
Vince4Amy;
If I understand your question properly, a user map file should do what you
want. Look at the smb.conf parameter, “username map” in:
man smb.conf
This parameter belongs in the global section of /etc/samba/smb.conf and has
the form:
username map = <path to map file name>
e.g. username map = /etc/samba/smbusers.
Each line in the map file has the form:
<Linux user> = <List of Windows Users>.
For example a line might look like:
jdoe = “John Doe” JDoe JQPublic
John Doe, JDoe and JQPublic will be mapped to the linux user jdoe. Be sure to
add all the linux users to Samba with "smbpasswd -a <username>
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
> On Fri January 9 2009 06:36 pm, Vince4Amy wrote:
>
<snip>
>>
> Vince4Amy;
>
> If I understand your question properly, a user map file should do what you
> want. Look at the smb.conf parameter, “username map” in:
>
> man smb.conf
>
>
> This parameter belongs in the global section of /etc/samba/smb.conf and has
> the form:
> username map = <path to map file name>
> e.g. username map = /etc/samba/smbusers.
>
> Each line in the map file has the form:
> <Linux user> = <List of Windows Users>.
> For example a line might look like:
> jdoe = “John Doe” JDoe JQPublic
>
> John Doe, JDoe and JQPublic will be mapped to the linux user jdoe. Be sure
> to add all the linux users to Samba with "smbpasswd -a <username>
>
Vince4Amy;
After rereading your post I’m afraid this will not do what you want. This
only works from Windows to Samba.
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
Samba checks the username/password in all lowercase letters with only the first letter capitalized
Samba checks the username/password as they are submitted by the Client.
Samba checks the usename/password in all lowercase letters
Should you have other combinations you can try in the [Global]-section: