[Samba] weird home share problem

Edward Ashley samba at klesknet.com
Fri Mar 12 14:12:51 GMT 2004

I would advise making sure that both your settings in the ldap database and
the smb.conf are the same. Either that or don't provide them in one or the
other. Also have you given the computer enough time before logging in to
become a member of the network, this can happen with my wireless pcmcia card
which takes some time to configure itself for the network. Have you
configured the ldap database correctly, if you want some GUI help then you
can install LAM: lam.sourceforge.net. Have you mapped the groups using net

These are all potential banana skins, and I hope something helps.

-----Original Message-----
From: samba-bounces+samba=klesknet.com at lists.samba.org
[mailto:samba-bounces+samba=klesknet.com at lists.samba.org] On Behalf Of Lukas
Sent: 12 March 2004 07:40
To: samba at samba.org
Subject: [Samba] weird home share problem

Hi list

During my samba3 pdc ldap backend set up I encountered a new problem. I 
configured in smb.conf the mounting of the home share as followed:

logon path =                # I don't want roaming profiles
logon drive = H:
logon home = \\homeserver\%u
logon script = logon.bat

    comment = Home dirs
    valid users = %S
    read only = No
    browseable = No

Well after logging in it executes the login.bat or the defined one in 
ldap tree and mounts the \\server\user to H:. Now it works perfectly but 
the weird thing is, after logging in, I log out and log in again, and 
the home share isn't there. I restart the workstation and log in again 
and it isn't still there. But if I log off or shut down the workstation 
and wait approximate 5 minutes, the home share appears after the login 
process. It looks like there is a timeout or something else. The other 
strange thing is, that sometimes, the logon script won't be executed.

Are there any problems between the logon script in the smb.conf and the 
one stored in ldap tree?

Best regards
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list