[Samba] User profile error

Gabriel Rosca missnebun at gmail.com
Sat Jun 10 10:47:40 GMT 2006

Hi guys, I have a problem and I`m stuck. Here is the error:

Jun 10 06:10:00 linux smbd[20664]: [2006/06/10 06:10:00, 0]

Jun 10 06:10:00 linux smbd[20664]:   redwar ( couldn't find
service profiles


Here is my smb.conf file :



[root at linux home]# testparm /etc/samba/smb.conf

Load smb config files from /etc/samba/smb.conf

Processing section "[homes]"

Processing section "[netlogon]"

Processing section "[Gruppe]"

Processing section "[public]"

Processing section "[profiles$]"

Loaded services file OK.

WARNING: passdb expand explicit = yes is deprecated

Server role: ROLE_DOMAIN_PDC

Press enter to see a dump of your service definitions



        dos charset = CP852

        unix charset = ISO8859-2

        workgroup = LINUX

        server string = Samba Server

        interfaces =,,

        log file = /var/log/samba/samba.%U

        max log size = 50

        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

        add user script = /usr/sbin/useradd %u

        delete user script = /usr/sbin/userdel %u

        add group script = /usr/sbin/groupadd %g

        delete group script = /usr/sbin/groupdel %g

        delete user from group script = /usr/sbin/deluser %u %g

        add machine script = /usr/sbin/useradd %u -d /dev/null -s /bin/false
-m -g machines -c %u

        logon script = logon.bat

        logon path = \\%L\Profiles\%U

        domain logons = Yes

        os level = 65

        preferred master = Yes

        domain master = Yes

        dns proxy = No

        wins support = Yes

        hosts allow = 10.19.25., 10.12.12., 127., 192.168.1.



        comment = Home Directories

        read only = No

        browseable = No



        comment = Network Logon Service

        path = /home/samba/profiles/

        guest ok = Yes

        browseable = No

        share modes = No

        include = /etc/samba/logging.conf

        root preexec = echo "LOGIN %u $PPID \"%S\" %M %T" >>

        root postexec = echo "LOGOUT %u $PPID \"%S\" %M %T"



        path = /home/samba/group/%g

        read only = No

        browseable = No

        delete readonly = Yes



        comment = Public Stuff

        path = /home/public

        read list = @users

        write list = @ausbilder

        read only = No

        guest ok = Yes



        path = /home/samba/profiles/%U

        read only = No

        create mask = 0600

        directory mask = 0700

        guest ok = Yes

        root preexec = /bin/mkdir /home/samba/profiles/%U;
/bin/chown %U /home/samba/profiles/%U;                    /bin/chmod 700

[root at linux home]#


Here is the directory with permissions:



[root at linux home]# ls -l /home/samba/

total 4

drwxr-xrwt 3 root root 4096 Jun 10 06:14 profiles

[root at linux home]#



Here is my logon.bat 


echo mapping network drives to samba server Linux...

@ECHO "Be cool and wait!!!"

net use z: \\linux\home

net use y: \\linux\public

net use x: \\linux\groups

net time \\linux /set /y

/etc/samba/logon.bat (END)



And I have no idea what I have to do .


Thank you,





More information about the samba mailing list