Hi all,
Hope somebody can help. I am obviously not a samba guru...

I've installed a new server and tried to migrate my existing configuration and 
users..
I'm using FC6 and Version 3.0.24-7.fc6.

Unfortunately when I performed the install on the new server, I didn't make 
sure my user
UID and GID's where the same as the previous server which resulted in all sorts 
of odd
behaviour particulary with the joining of the domains.

I then manually altered all the user UID's and GID's (redoing groups almost 
entirely) to
reflect the original configuration.

Lo and behold it worked. After redoing all the 'Machine trust accounts' I'm now 
in a
situation where Samba seems to be working HOWEVER.....

After logon when I first try to access a share samba does a dump and I get an 
error
message. On retrying all seems to work.

Below is a copy of the dump messages and smb.conf .. Any help would be 
appreciated


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sep  9 10:32:29 SOS14UF smbd[27889]: [2007/09/09 10:32:29, 0] 
lib/util_sec.c:assert_uid(101)
Sep  9 10:32:29 SOS14UF smbd[27889]:   Failed to set uid privileges to (-1,531) 
now set
to (0,0)
Sep  9 10:32:29 SOS14UF smbd[27889]: [2007/09/09 10:32:29, 0] 
lib/util.c:smb_panic(1621)
Sep  9 10:32:29 SOS14UF smbd[27889]:   PANIC (pid 27889): failed to set uid
Sep  9 10:32:29 SOS14UF smbd[27889]:
Sep  9 10:32:29 SOS14UF smbd[27889]: [2007/09/09 10:32:29, 0]
lib/util.c:log_stack_trace(1728)
Sep  9 10:32:29 SOS14UF smbd[27889]:   BACKTRACE: 22 stack frames:
Sep  9 10:32:29 SOS14UF smbd[27889]:    #0 smbd(log_stack_trace+0x2d) 
[0x802253fd]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #1 smbd(smb_panic+0x5d) [0x8022552d]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #2 smbd [0x8022b63e]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #3 smbd [0x800a692c]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #4 smbd(pop_sec_ctx+0xa2) [0x800a6ac2]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #5 smbd(unbecome_root+0x17) [0x8009bc97]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #6 smbd(gid_to_sid+0x10e) [0x801dfcde]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #7 smbd [0x800af1cc]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #8 smbd(get_nt_acl+0x4c0) [0x800b5470]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #9 smbd(vfswrap_fget_nt_acl+0x2b) 
[0x800aa45b]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #10 smbd(is_visible_file+0x2ca) 
[0x8005910a]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #11 smbd [0x8005966d]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #12 smbd(dptr_ReadDirName+0x51) 
[0x800596d1]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #13 smbd [0x8009150c]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #14 smbd [0x800947e1]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #15 smbd(handle_trans2+0x24b) 
[0x800950fb]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #16 smbd(reply_trans2+0x6d7) 
[0x8009b4a7]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #17 smbd [0x800b7f70]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #18 smbd(smbd_process+0x7ab) 
[0x800b909b]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #19 smbd(main+0xbd0) [0x802d4150]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #20 
/lib/libc.so.6(__libc_start_main+0xdc)
[0x368dec]
Sep  9 10:32:29 SOS14UF smbd[27889]:    #21 smbd [0x80043051]
Sep  9 10:32:29 SOS14UF smbd[27889]: [2007/09/09 10:32:29, 0] 
lib/fault.c:dump_core(173)
Sep  9 10:32:29 SOS14UF smbd[27889]:   dumping core in /var/log/samba/cores/smbd
Sep  9 10:32:29 SOS14UF smbd[27889]:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

My samba configuration file is



+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Samba config file created using SWAT
# from 192.168.99.200 (192.168.99.200)
# Date: 2005/10/05 09:17:35

# Global parameters
[global]
        workgroup = SOS14UF
        netbios name = SOS
        server string = SOS UFA
        interfaces = eth1
        log file = /var/log/samba/log.smbd
        printcap name = /etc/printcap
        add machine script = /usr/sbin/useradd -d /dev/null -g 1000 -s 
/bin/false -M %u
        logon script = %u
        logon path = \\192.168.14.100\profiles\%u
        logon drive = H:
        logon home = \\192.168.14.100\home\%u
        domain logons = Yes
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        create mask = 0777
        force create mode = 0777
        force security mode = 0777
        directory mask = 0777
        force directory mode = 0777
        force directory security mode = 0777

[Homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /etc/samba/drivers
        write list = root
        guest ok = Yes

[netlogon]
        comment = Login scripts
        path = /usr/SOS/netlogon
        browseable = No

[profiles]
        comment = User profiles
        path = /usr/SOS/profiles
        read only = No
        create mask = 0600
        force create mode = 0700
        force security mode = 0700
        directory mask = 0700
        force directory mode = 0700
        force directory security mode = 0700

[home]
        comment = This is private storage area
        path = /home/%u
        read only = No
        create mask = 0700
        directory mask = 0700

[Public]
        comment = Public space to exchange file and share information
        path = /usr/SOS/clientdata/Ushare
        invalid users = timecard
        read only = No
        guest ok = Yes
        hide special files = no
        hide unreadable = Yes


[f-prot]
        comment = F-Prot anti virus definitions
        path = /usr/local/f-prot/lan
        read only = Yes
        guest ok = Yes

[Tosh1]
        comment = Toshiba Dinasore thingy
        path = /var/spool/samba
        printer admin = root
        read only = No
        guest ok = Yes
        printable = Yes
        printer name = Tosh1
        use client driver = Yes

[Gbake]
        comment = Global Bake Backup files
        path = /etc/SOS/SOSBackup/Backup
        read only = No
        guest ok = Yes

[MYOB]
        comment = MYOB data
        path = /usr/SOS/clientdata/myob
        read only = No
        guest ok = Yes

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Regards
Brad Horrocks

--
Secure Office Services 
ABN 75 196 364 531
19 Burrendong Road
COOMBABAH QLD 4216
Ph. +61 7 5537 4955
Fx. +61 7 5537 4966
Mob.+61 (0)404142690
web: http://www.secureoffice.com.au

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

Reply via email to