[Samba] User profile error

Gabriel Rosca
Sat, 10 Jun 2006 10:55:25 -0000

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]
smbd/service.c:make_connection(846)

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



Here is my smb.conf file :





[root@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



[global]

        dos charset = CP852

        unix charset = ISO8859-2

        workgroup = LINUX

        server string = Samba Server

        interfaces = 10.19.25.0/24, 10.12.12.0/24, 127.0.0.0/8

        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.



[homes]

        comment = Home Directories

        read only = No

        browseable = No



[netlogon]

        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"
>>
/var/log/samba/utmp-samba"

        root postexec = echo "LOGOUT %u $PPID \"%S\" %M
%T"
>>/var/log/samba/utmp-samba"



[Gruppe]

        path = /home/samba/group/%g

        read only = No

        browseable = No

        delete readonly = Yes



[public]

        comment = Public Stuff

        path = /home/public

        read list = @users

        write list = @ausbilder

        read only = No

        guest ok = Yes



[profiles$]

        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
/home/samba/profiles/%U

[root@linux home]#



Here is the directory with permissions:





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

total 4

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

[root@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,

Gabriel