[Samba] home shares and disabled profiles (NET HELPMSG 3916)

José M. Fandiño samba at fadesa.es
Wed Sep 28 11:39:00 GMT 2005


Hello,

 I'm following the recipe 26.2.1.4 to disable roaming profiles for 
win9x and XPpro machines, but perhaps I'm missing something because 
it doesn't seem be possible get the home shares mapped with profiles 
disabled.

windows machines fails with this error:
-------------------------------------------------------------------
net use u: /HOME
The user's home directory has not been specified.

More help is available by typing NET HELPMSG 3916.
-------------------------------------------------------------------

the server is running samba version 3.0.20 (from ftp.suse.com)

are incompatibles home shares and disabled profiles?

Thank you.

# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

[global]
        workgroup = BETA
        interfaces = 127.0.0.1, eth0
        bind interfaces only = Yes
        map to guest = Bad User
        passdb backend = ldapsam:ldap://server.domain
        enable privileges = Yes
        log level = 2 passdb:5 auth:10 winbind:2
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
        logon script = inicio.bat
        logon path =
        logon drive = u:
        logon home =
        domain logons = Yes
        os level = 35
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        ldap admin dn = cn=server,ou=acl,dc=fadesa,dc=es
        ldap delete dn = Yes
        ldap group suffix = ou=posix,ou=grupos
        ldap idmap suffix = cn=idmap,ou=samba,ou=aplicaciones
        ldap machine suffix = ou=maquinas,ou=cuentas
        ldap passwd sync = Yes
        ldap suffix = dc=fadesa,dc=es
        ldap ssl = start tls
        ldap user suffix = ou=personas,ou=cuentas
        utmp = Yes
        idmap backend = ldap:ldap://server.domain
        idmap uid = 30000-40000
        idmap gid = 30000-40000
        case sensitive = No

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        browseable = No

[netlogon]
        comment = The domain netlogon service
        path = /var/lib/samba/netlogon/
        browseable = No


[2005/09/28 13:33:39, 10] auth/auth_util.c:debug_nt_user_token(457)
  NT user token of user S-1-5-21-528226156-890416033-2029241632-500
  contains 15 SIDs
  SID[  0]: S-1-5-21-528226156-890416033-2029241632-500
  SID[  1]: S-1-5-21-528226156-890416033-2029241632-513
  SID[  2]: S-1-1-0
  SID[  3]: S-1-5-2
  SID[  4]: S-1-5-11
  SID[  5]: S-1-5-21-528226156-890416033-2029241632-1205
  SID[  6]: S-1-5-21-528226156-890416033-2029241632-512
  SID[  7]: S-1-5-21-2403845858-3771094018-3344062789-701
  SID[  8]: S-1-5-21-2403845858-3771094018-3344062789-704
  SID[  9]: S-1-5-21-2403845858-3771094018-3344062789-717
  SID[ 10]: S-1-5-21-2403845858-3771094018-3344062789-718
  SID[ 11]: S-1-5-21-2403845858-3771094018-3344062789-725
  SID[ 12]: S-1-5-21-2403845858-3771094018-3344062789-726
  SID[ 13]: S-1-5-21-2403845858-3771094018-3344062789-727
  SID[ 14]: S-1-5-21-2403845858-3771094018-3344062789-736
  SE_PRIV  0x10 0x0 0x0 0x0
[2005/09/28 13:33:39, 5] auth/auth_util.c:make_server_info_sam(829)
  make_server_info_sam: made server info for user perico -> perico
[2005/09/28 13:33:39, 3] auth/auth.c:check_ntlm_password(268)
  check_ntlm_password: sam authentication for user [perico] succeeded
[2005/09/28 13:33:39, 5] auth/auth.c:check_ntlm_password(294)
  check_ntlm_password:  PAM Account for user [perico] succeeded
[2005/09/28 13:33:39, 2] auth/auth.c:check_ntlm_password(307)
  check_ntlm_password:  authentication for user [perico] -> [perico] -> [perico] succeeded
[2005/09/28 13:33:39, 5] auth/auth_util.c:free_user_info(1361)
  attempting to free (and zero) a user_info structure
[2005/09/28 13:33:39, 10] auth/auth_util.c:free_user_info(1364)
  structure was created for perico
[2005/09/28 13:33:39, 2] smbd/utmp.c:sys_utmp_update(419)
  utmp_update: uname:/var/run/utmp wname:/var/log/wtmp
[2005/09/28 13:33:39, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2276)
  Returning domain sid for domain BETA -> S-1-5-21-528226156-890416033-2029241632
[2005/09/28 13:33:39, 2] passdb/pdb_ldap.c:init_sam_from_ldap(499)
  init_sam_from_ldap: Entry found for user: perico


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d- s+:+() a31 C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w---
O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++
G++ e- h+(++) !r !z
------END GEEK CODE BLOCK------


More information about the samba mailing list