Re: [Samba] Samba users profiles directory failing to mount in windows client
On Tue, Oct 4, 2011 at 10:57 PM, Harry Jede wrote: > Use "netbios name" instead of "netbios aliases" Thanks Harry, that would certainly make sense, although I do have it in my smb.conf.master snip- # grep netbios smb.conf.master netbios name = TEST netbios aliases = TESTSRV snip- It appears that when I do a "testparm -s smb.conf.master > smb.conf" that netbios name is getting stripped but there is no indication as to why, and it looks like it is not getting read if I add it manually to smb.conf: snip- # testparm -s smb.conf.master > smb.conf Load smb config files from smb.conf.master rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[homes]" Processing section "[netlogon]" Global parameter logon script found in service section! Processing section "[Profiles]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC snip- Some additional information that my be helpful to anyone who might be able to assist in troubleshooting:: output of smbclient -L (same results for both nbname and nbalias) snip- # smbclient -L //TEST Enter root's password: Domain=[TESTDOMAIN] OS=[Unix] Server=[Samba 3.5.8] Sharename Type Comment - --- IPC$IPC IPC Service (Samba 3.5.8) rootDisk Home Directories Domain=[TESTDOMAIN] OS=[Unix] Server=[Samba 3.5.8] Server Comment ---- TEST Samba 3.5.8 WRKSTN TESTSRV Samba 3.5.8 WorkgroupMaster ---- TESTMDOMAIN TEST INTERNAL TESTSRV WORKGROUPUSERNAME snip- Server hostname snip- # more /etc/hosts 127.0.0.1 localhost 10.1.0.10 test.testdomain test snip- both smbd and nmbd are running snip- # ps aux | grep mbd root 2319 0.0 0.0 9132 1056 pts/1S+ 13:24 0:00 grep --color=auto mbd root 21792 0.0 0.1 89776 5296 ?Ss Oct04 0:00 smbd -F root 21796 0.0 0.0 89776 2000 ?SOct04 0:00 smbd -F root 21804 0.0 0.0 61884 2276 ?Ss Oct04 0:04 nmbd -D snip- ~ jan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba users profiles directory failing to mount in windows client
On 23:55:42 wrote greep elem: > I am having some issues with Samba with roaming profiles running on > Ubuntu server. When a user logs in they get prompted with an error: > > windows error-- > Windows cannot locate the server copy of your roaming profile and is > attempting to log you > on with your local profile. Changes to the profile will not be copied > to the server when > you logoff. Possible causes of this error include network problems or > insufficient security > rights. If this problem persists, contact your network administrator. > > DETAIL - The network path was not found. > windows error-- > > While trying to figure this out I believe I have found the problem > but am unsure how to fix it. It would appear that for the "logon > path = \\%N\Profiles\%U" entry in smb.conf that the %N (or even %L) > does not get translated to the netbios name of the server. > > doing the following command shows the %N still untranslated while the > %U is correctly updated to the user name > > # pdbedit -Lv testuser | grep Path > Profile Path: \\%N\profiles\testuser > > If I manually hard code the %N to the servers name instead of using > %N or %L the roaming profile works perfectly. > > > Can anyone point me in the right direction so as to resolve this > issue? Use "netbios name" instead of "netbios aliases" -- Regards Harry Jede -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba users profiles directory failing to mount in windows client
I am having some issues with Samba with roaming profiles running on Ubuntu server. When a user logs in they get prompted with an error: windows error-- Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Possible causes of this error include network problems or insufficient security rights. If this problem persists, contact your network administrator. DETAIL - The network path was not found. windows error-- While trying to figure this out I believe I have found the problem but am unsure how to fix it. It would appear that for the "logon path = \\%N\Profiles\%U" entry in smb.conf that the %N (or even %L) does not get translated to the netbios name of the server. doing the following command shows the %N still untranslated while the %U is correctly updated to the user name # pdbedit -Lv testuser | grep Path Profile Path: \\%N\profiles\testuser If I manually hard code the %N to the servers name instead of using %N or %L the roaming profile works perfectly. Can anyone point me in the right direction so as to resolve this issue? Server setup: Ubuntu server 11.04 Samba 3.5.8 OpenLDAP 2.4.23 Windows XP SP3 clients smb.conf below: --[ smb.conf [global] workgroup = TESTDOMAIN netbios aliases = TESTSRV obey pam restrictions = Yes passdb backend = ldapsam:ldap://localhost passwd program = /usr/sbin/smbldap-passwd -u %u passwd chat = "Changing *\nNew password*" %n\n "*Retype new password*" %n\n" passwd chat timeout = 4 log level = 3 syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 add user script = /usr/sbin/smbldap-useradd -m '%u' delete user script = /usr/sbin/smbldap-userdel %u add group script = /usr/sbin/smbldap-groupadd -p '%g' delete group script = /usr/sbin/smbldap-groupdel '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g' set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u' add machine script = /usr/sbin/smbldap-useradd -w '%u' logon path = \\%N\Profiles\%U logon drive = H: domain logons = Yes preferred master = Yes domain master = Yes dns proxy = No wins support = Yes ldap admin dn = cn=admin,dc=testdomain ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Computers ldap passwd sync = yes ldap suffix = dc=testdomain ldap ssl = no ldap user suffix = ou=Users panic action = /usr/share/samba/panic-action %d [homes] comment = Home Directories valid users = %S Read only = No browseable = No [netlogon] comment = Network Logon Service path = /home/samba/netlogon admin users = root guest ok = Yes browseable = No [Profiles] comment = Roaming Profile Share path = /home/samba/profiles read only = No profile acls = Yes browseable = No --[ smb.conf -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba