[Samba-TNG] Diagnosis steps fail (repost)

Jamie ffolliott jffolliott at home.com
Wed Feb 16 08:37:30 GMT 2000


> > Same results.
>
> weird.  it should'n't be doing that.  you do have lsarpcd and samrd
> running, yes?

Yes.

I'm using samba as a PDC (not domain member).  Smb.conf is below.

> > I wondered if adding 127.0.0.1 as an interface in smb.conf would make a
> > difference.
> > Now rpcclient segfaults AND core dumps.
>
> :)

Oh wait.. forget the core dump. Sorry, that was a Sig 11 error, very rarely
happens (one of my linux machines has a small bit of bad memory, yet has a
60 day uptime with no errors)

> > Here's a backtrace from gdb:
>
> follow the instructions in lars' FAQ for this process, thx.

Yup - that's what I meant by a backtrace (bt same as where command)
There's the info below that Lars mentions.

> > #0  0x4002f183 in cli_con_get ()
> > #1  0x4002f5ec in cli_connection_init_auth ()
> > #2  0x4002f56e in cli_connection_init ()
> > #3  0x40032ff7 in lsa_open_policy2 ()
> > #4  0x80542c6 in cmd_sam_create_dom_user ()
> > #5  0x804c837 in do_command ()
> > #6  0x804cafa in process ()
> > #7  0x804e2af in command_main ()
> > #8  0x804e323 in main ()
> > #9  0x40157cb3 in __libc_start_main (main=0x804e2e4 <main>, argc=7,
> >     argv=0xbffffc64, init=0x804b54c <_init>, fini=0x805d2cc <_fini>,
> >     rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc5c)
> >     at ../sysdeps/generic/libc-start.c:78
> >

Here's smb.conf

[global]
   netbios name = FIREWALL
   workgroup = HOUSE
   server string = Samba Server
   hosts allow = 127.0.0.1 192.168.69.
   printcap name = /etc/printcap
   load printers = yes
   print command = lpr -P%p %s; rm %s
   log file = /var/log/samba/log.%m
   max log size = 500
   security = user
   password level = 8
   username level = 8
   encrypt passwords = yes
   smb passwd file = /etc/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *password* %n\n *password* %n\n *successfull*
   domain group map = /etc/smbdomaingroup.map
   local group map = /etc/smblocalgroup.map
   domain user map = /etc/smbdomainuser.map
   socket options = TCP_NODELAY
   getwd cache = yes
   read prediction = True
   wide links = True
   interfaces = 192.168.69.1/24 127.0.0.1/255.0.0.0
   bind interfaces only = False
   local master = yes
   os level = 63
   domain master = yes
   preferred master = yes
   domain logons = yes
   logon script = logon.bat
   logon drive = u:
   logon path = \\%L\profiles\%U
   logon home = \\%L\home\%U
   wins support = yes
   dns proxy = no
   lock directory = /var/lock/samba
   locking = yes
   strict locking = yes
   time server = True
   debug level = 100
   timestamp logs = no

[home]
   comment = Home Directories
   browseable = yes
   writeable = yes
   preserve case = yes
   short preserve case = yes
   create mode = 0755
   hide dot files = yes
   public = no

[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   public = no
   locking = no
   writeable = no
   share modes = no

[profiles]
   path = /home/profiles
   browseable = no
   guest ok = yes
   writeable = yes
   comment = Roaming Profiles
   directory mask = 0700
   create mode = 0700

[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes




More information about the samba-ntdom mailing list