[Samba] Good Pam how-to??

2003-01-24 Thread LaSusa, Dan
Title: Message



I'm 
looking for a good Pam how-to/tutorial. 

Does anyone have any links??

I'm 
a TOTAL incompetent when it comes to Pam (I cook with Crisco! 
sorry...couldn't help that :-)

I 
need a real beginners guide

Thanks!

Dan


RE: [Samba] newbie on winbind.. help required.

2003-01-21 Thread LaSusa, Dan
I can't answer your questions directly, but how bout thisI tell you how
I'm using winbind and see if that helps!?

(bear in mind, I think my setup is simple and you CAN do a whole lot more
with samba/winbind - but this is what I have setup)

Basically,

I've got an NT4 Domain, a linux server and lots of WinNT/win2k clients.

I want to share a directory on the linux server, but I also want some people
to only have read-only rights and others to have read-write

I also don't want to have to create userids and passwords on the linux
server for each person/group that will need to use the share.  So I need the
linux server, or at least samba to know about the domain users and grant
them right appropriately.  Winbind communicates with the PDC in the Domain
and becomes aware of the users in the domain.  

By having this capability, I don't have to setup new users/passwords, nor do
I have to have the users logon to the share (so long as they log into the
domain, Linux will know who they are).

So ultimately, you don't NEED winbind to do ANY sharing, but it sure makes
administration easier, and simplifies things for users since they don't need
yet ANOTHER userid/password combo.

I hope that makes senseI also I hope I didn't bore you with things you
already know

Samba On!

Dan

-Original Message-
From: akshaysalkar [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 5:57 AM
To: [EMAIL PROTECTED]
Subject: [Samba] newbie on winbind.. help required.


I would like to know what exactly does winbind do.?
(i have read the documentation but i am yet confused)


prior to having winbind incorporated in samba,there was smb, nmb doing the
authentication using samba server on linux. 
so samba acted as file and print server + authentcation server for windows
clients including the NT server.


NT Server - Linux Server (Samba)
  
mswinclient1 mswinclient2 mswinclient3 etc.

so if we look at the above rough picture
my all 3 mswinclients can do sharing to NT server as well as Linux having
samba. the ntserver can also do sharing to Linux having samba.


but what if have 1 NT server, 5 or even more (probably many) linux
workstations and also lots of MsWindows workstations

how do i do sharing between linux workstations and the MS windows clients
and the NT server.

does this mean that I have to install samba server on each and every linux
workstation.


also then what is the job of winbind.?
as far as the material i have read ... i can figure out that
a solution has come up by the samba team where the password authetication
that was done twice, for windows server as well as linux server has been
eliminated, thus making the samba server do no authentication any more,
while the NT server does the full fledged authentication.

is there anything more?

regards

--


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy the best in Movies at http://www.videos.indiatimes.com

Now bid just 7 Days in Advance and get Huge Discounts on Indian Airlines
Flights. So log on to http://indianairlines.indiatimes.com and Bid Now! Get
Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy the best in Movies at http://www.videos.indiatimes.com

Now bid just 7 Days in Advance and get Huge Discounts on Indian Airlines
Flights. So log on to http://indianairlines.indiatimes.com and Bid Now!

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



RE: [Samba] Winbind Fails to start

2003-01-21 Thread LaSusa, Dan
Maybe try changing 

Password Server to equal the netbios name instead of the ip address?

Dan

-Original Message-
From: Rob Keeling [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 5:04 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Winbind Fails to start


Help!

I have configured a Suse 8.1 machine with the Samba 2.2.7a rpm downloaded
from www.samba.org

This has been configured to become a member server in a NT 4 domain. I have
followed the instructions in the samba how-to (as I have many times before)
to join the domain.

As far as the NT server is concerned suse-tech is a valid server, can be
seen from server manager etc. However

suse-tech:/var/log/samba # wbinfo -t
Could not check secret

suse-tech:/var/log/samba # tail /var/log/samba/log.winbindd

[2003/01/21 11:08:46, 1] nsswitch/winbindd_util.c:init_domain_list(144)
  Retrying startup domain sid fetch for DOMAIN
[2003/01/21 11:08:56, 1] nsswitch/winbindd_util.c:init_domain_list(144)
  Retrying startup domain sid fetch for DOMAIN
[2003/01/21 11:09:06, 1] nsswitch/winbindd_util.c:init_domain_list(144)
  Retrying startup domain sid fetch for DOMAIN
[2003/01/21 11:09:16, 1] nsswitch/winbindd_util.c:init_domain_list(144)
  Retrying startup domain sid fetch for DOMAIN
[2003/01/21 11:09:26, 1] nsswitch/winbindd_util.c:init_domain_list(144)
  Retrying startup domain sid fetch for DOMAIN suse-tech:/var/log/samba #
[2003/01/21 11:09:26, 1]
nsswitch/winbindd_util.c:init_domain_list(144)

This repeats 

my smb.conf file reads

# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2003/01/20 16:54:52
# Global parameters
[global]
workgroup = DOMAIN
netbios name = SUSE-TECH
# netbios aliases = SUSE_TECH
# netbios name = SUSE_TECH
security = DOMAIN
encrypt passwords = Yes
password server = 193.121.3.235
***ip of PDC ***
log level = 1
syslog = 0
time server = Yes
unix extensions = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name =
CUPS os level = 2 # wins server = 193.121.3.235 ***ip of wins  winbind
uid = 1-2 winbind gid = 1-2 winbind use default domain = Yes
printing = cups veto files = /*.eml/*.nws/riched20.dll/*.{*}/ domain master
= no [homes] comment = Home Directories valid users = %S read only = No
create mask = 0640 directory mask = 0750 browseable = No [printers] comment
= All Printers path = /var/tmp printer admin = @staff create mask = 0600
printable = Yes browseable = No [print$] comment = Printer Drivers path =
/var/lib/samba/drivers write list = @ntadmin root force group = ntadmin
create mask = 0664 directory mask = 0775

What have I done wrong?

Rob Keeling
Network Manager
Queen Elizabeth`s Grammar School


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



RE: [Samba] session setup failed: NT_STATUS_LOGON_FAILURE

2003-01-20 Thread LaSusa, Dan
Title: Message



I'm 
kinda new to this, so you may have already tried all of this and then 
somebut I'm just trying to help...

1. Winbind IS running right? (I'm assuming so, but just 
checking)
2. What do you get if you run "wbinfo -t" ?

Dan

  
  -Original Message-From: Johnson, Dave S. 
  [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 
  4:31 AMTo: '[EMAIL PROTECTED]'Subject: [Samba] 
  session setup failed: NT_STATUS_LOGON_FAILURE
  I know this subject has been beaten to death .. but I haven't 
  been able to find a solution .. so here it is again: 
  I can join the my Windows DOMAIN without issue. 
  [djohns1@lmsprfc24208a djohns1]$ smbclient -L mspap01u 
  added interface ip=192.168.240.53 
  bcast=192.168.240.255 nmask=255.255.255.0 added 
  interface ip=192.168.131.1 bcast=192.168.131.255 nmask=255.255.255.0 
  Password: session setup failed: 
  NT_STATUS_LOGON_FAILURE 
  If I use localhost instead of mspap01u I get a list of shares 
  locally. No matter what I do to my smb.conf file locally I get denied 
  EVERYWHERE in the DOMAIN when trying to connect to Windows machines. I 
  am using SECURITY=DOMAIN andPASSWORD SERVER = *
  [djohns1@lmsprfc24208a djohns1]$ smbclient //vmspap01caa/prod 
  -W NA -U djohns1 added interface ip=192.168.240.53 
  bcast=192.168.240.255 nmask=255.255.255.0 added 
  interface ip=192.168.131.1 bcast=192.168.131.255 nmask=255.255.255.0 
  Password: session setup failed: 
  NT_STATUS_LOGON_FAILURE 
  I know there's communication there because I get some output 
  if I use -N : [djohns1@lmsprfc24208a djohns1]$ 
  smbclient //vmspap01caa/prod -W NA -N added interface 
  ip=192.168.240.53 bcast=192.168.240.255 nmask=255.255.255.0 added interface ip=192.168.131.1 bcast=192.168.131.255 
  nmask=255.255.255.0 Anonymous login successful 
  Domain=[NA] OS=[Windows 5.0] Server=[Windows 2000 LAN 
  Manager] tree connect failed: 
  NT_STATUS_ACCESS_DENIED 
  I have several HP-UX 11.00 machines with Samba 2.2.3a running 
  on them with SECURITY=DOMAIN and all of the users can access the shares 
  without issue. I just can't get anywhere on the DOMAIN with smbclient 
  ... 
  testparm output:  
  # Global parameters [global] 
   coding system = 
   client code 
  page = 850  
  code page directory = /etc/codepages  workgroup = NA 
   netbios name = 
  LMSPRFC24208A  netbios aliases = 
   netbios 
  scope =  
  server string = Dave Johnson's Samba Server  interfaces = 
   bind 
  interfaces only = No  security = DOMAIN 
   encrypt passwords 
  = Yes  
  update encrypted = No  allow trusted domains = 
  Yes  hosts 
  equiv =  min 
  passwd length = 5  map to guest = Never 
   null passwords = 
  No  obey pam 
  restrictions = No  password server = * 
   smb passwd file = 
  /etc/samba/smbpasswd  root directory = 
   pam 
  password change = No  passwd program = 
  /usr/bin/passwd  passwd chat = *new*password* 
  %n\n *new*password* %n\n *changed*  passwd chat debug = 
  No  username 
  map =  
  password level = 0  username level = 0 
   unix password sync 
  = No  
  restrict anonymous = No  lanman auth = Yes 
   use rhosts = 
  No  admin 
  log = No  
  log level = 5  syslog = 1  syslog only = No 
   log file = 
  /var/log/samba/log.%m  max log size = 
  50 timestamp logs = Yes 
   debug hires 
  timestamp = No  debug pid = No 
   debug uid = 
  No  protocol 
  = NT1  large 
  readwrite = Yes  max protocol = NT1 
   min protocol = 
  CORE  read 
  bmpx = No  
  read raw = Yes  write raw = Yes 
   nt smb support = 
  Yes  nt pipe 
  support = Yes  nt status support = 
  Yes  
  announce version = 4.9  announce as = NT 
   max mux = 
  50  max xmit 
  = 16644  
  name resolve order = lmhosts host wins bcast  max ttl = 259200 
   max wins ttl = 
  518400  min 
  wins ttl = 21600  time server = No 
   unix extensions = 
  No  change 
  notify timeout = 60  deadtime = 0 
   getwd cache = 
  Yes  
  keepalive = 300  lpq cache time = 10 
   max smbd processes 
  = 0  max 
  disk size = 0  max open files = 
  1  name 
  cache timeout = 660  read size = 16384 
   socket options = 
  TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192  stat cache size = 50 
   use mmap = 
  Yes  total 
  print jobs = 0  load printers = Yes 
   printcap name = 
  /etc/printcap  disable spoolss = No 
   enumports command 
  =  
  addprinter command =  deleteprinter command = 
   show add 
  printer wizard = Yes  os2 driver map = 
   strip dot = 
  No  mangling 
  method = hash  character set = 
   mangled 
  stack = 50  
  stat cache = Yes  domain admin group = 
   domain 
  guest group =  machine password timeout = 
  604800  add 
  user script =  delete user script = 
   logon 
  script =  
  logon path = \\%N\%U\profile  logon drive = 
   logon home 
  = \\%N\%U  
  domain logons = No  os level = 20 
   lm announce = 
  Auto  lm 
  interval = 60  preferred master = 
  Auto  local 
  master = Yes  domain master = Auto 
 

[Samba] winbind LOGON_FAILURE

2003-01-15 Thread LaSusa, Dan
Title: Message



Environment:
 Redhat 7.3
 Kernel 2.4.18-4
 Samba 2.2.7
 NT4 Domain

I 
have replaced the actual domain name and the name of the PDC with words 
DOMAIN_NAME and PDC_NAME. In both cases, the correct domain name and pdc 
name are used.

I 
removed, waited, and then re-added my linux server to our domain from the server 
manager on our PDC.

When I then run smbpasswd -j DOMAIN_NAME -r PDC_NAME -U Administrator 
(and then enter the password when prompted)

I 
get that I joined the domain!

When I then run:

winbindd -i -d 3

winbindd version 2.2.7 started.Copyright The Samba Team 
2000-2001Initialising global parametersparams.c:pm_process() - 
Processing configuration file "/etc/samba/smb.conf"Processing section 
"[global]"Processing section "[printers]"Processing section 
"[tmp]"Processing section "[Vertex]"Processing section 
"[Rcode]"adding IPC service IPC$adding IPC service ADMIN$added 
interface ip=172.16.0.37 bcast=172.16.1.255 nmask=255.255.254.0added 
interface ip=172.16.0.37 bcast=172.16.1.255 
nmask=255.255.254.0resolve_lmhosts: Attempting lmhosts lookup for name 
DOMAIN_NAME0x1bresolve_wins: Attempting wins lookup for name 
DOMAIN_NAME0x1bresolve_wins: WINS server resolution selected and no 
WINS servers listed.name_resolve_bcast: Attempting broadcast lookup for name 
DOMAIN_NAME0x1bbind succeeded on port 0Got a positive name query 
response from 172.16.0.33 ( 172.16.0.33 )bind succeeded on port 
0cm_get_dc_name: Returning DC PDC_NAME(172.16.0.33) for domain 
DOMAIN_NAMEIPC$ connections done by user 
DOMAIN_NAME\AdministratorConnecting to host=PDC_NAME 
share=IPC$Connecting to 172.16.0.33 at port 445error connecting to 
172.16.0.33:445 (Connection refused)Connecting to 172.16.0.33 at port 
139failed session setupCould not open a connection to DOMAIN_NAME for 
\PIPE\lsarpc (NT_STATUS_LOGON_FAILURE)

Any 
ideas what would cause this?

Thanks for your help!


[Samba] FW: winbind LOGON_FAILURE

2003-01-15 Thread LaSusa, Dan
Title: Message



So I 
solved my orginal problem, but now here's where I'm at:

No 
errors when smb or winbind start (based on log files)

If I 
do a wbinfo -t 

I get 
that the secret is good.

If I 
do a wbinfo -u

0xc233

Is all 
I get??!? 

Same 
for when I do a wbinfo -g

What 
does this mean? No Domain Controller? If that's the case I've tried 
changing the password server line in my smb.conf file. I've tried it by 
name, IP address and *

Any 
ideas out there?

Thanks 
in advanced!

Dan


-Original Message-From: LaSusa, Dan Sent: 
Wednesday, January 15, 2003 11:34 AMTo: 
'[EMAIL PROTECTED]'Subject: winbind 
LOGON_FAILURE
Environment:
 Redhat 7.3
 Kernel 2.4.18-4
 Samba 2.2.7
 NT4 Domain

I 
have replaced the actual domain name and the name of the PDC with words 
DOMAIN_NAME and PDC_NAME. In both cases, the correct domain name and pdc 
name are used.

I 
removed, waited, and then re-added my linux server to our domain from the server 
manager on our PDC.

When I then run smbpasswd -j DOMAIN_NAME -r PDC_NAME -U Administrator 
(and then enter the password when prompted)

I 
get that I joined the domain!

When I then run:

winbindd -i -d 3

winbindd version 2.2.7 started.Copyright The Samba Team 
2000-2001Initialising global parametersparams.c:pm_process() - 
Processing configuration file "/etc/samba/smb.conf"Processing section 
"[global]"Processing section "[printers]"Processing section 
"[tmp]"Processing section "[Vertex]"Processing section 
"[Rcode]"adding IPC service IPC$adding IPC service ADMIN$added 
interface ip=172.16.0.37 bcast=172.16.1.255 nmask=255.255.254.0added 
interface ip=172.16.0.37 bcast=172.16.1.255 
nmask=255.255.254.0resolve_lmhosts: Attempting lmhosts lookup for name 
DOMAIN_NAME0x1bresolve_wins: Attempting wins lookup for name 
DOMAIN_NAME0x1bresolve_wins: WINS server resolution selected and no 
WINS servers listed.name_resolve_bcast: Attempting broadcast lookup for name 
DOMAIN_NAME0x1bbind succeeded on port 0Got a positive name query 
response from 172.16.0.33 ( 172.16.0.33 )bind succeeded on port 
0cm_get_dc_name: Returning DC PDC_NAME(172.16.0.33) for domain 
DOMAIN_NAMEIPC$ connections done by user 
DOMAIN_NAME\AdministratorConnecting to host=PDC_NAME 
share=IPC$Connecting to 172.16.0.33 at port 445error connecting to 
172.16.0.33:445 (Connection refused)Connecting to 172.16.0.33 at port 
139failed session setupCould not open a connection to DOMAIN_NAME for 
\PIPE\lsarpc (NT_STATUS_LOGON_FAILURE)

Any 
ideas what would cause this?

Thanks for your help!


RE: [Samba] samba does not work

2002-12-17 Thread LaSusa, Dan
I'm still new to all of this too, but I will try to help if I canjust
need more info first

What is your security option set to (in smb.conf)?

When you say windows cannot see itdo you mean it can't see it in Network
neighborhood?  What about if you do a net view?  

What version of Windows?


Dan

-Original Message-
From: Espahrom, Mohammad (Manassas) [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 17, 2002 9:49 AM
To: '[EMAIL PROTECTED]'
Subject: [Samba] samba does not work


I have installed linux 8.
Have configured smb.conf
workgroup = domain name
netbios name = samba server name
and so on
and also run 
smbd
nmbd
but my windows can not see it
can you help me in this regard.
Thanks,
Mohammad Espahrom


**
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses. www.mimesweeper.com
**

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



RE: [Samba] winbind help for newbie

2002-12-16 Thread LaSusa, Dan
I just tried it...

It didn't error or anythingit just came back to a prompt...

At which point I ran

Wbinfo -m

And still got LMCMIG

For what it's worthThis is an NT4 domain.  I noticed in the link you
sent, it seemed to talk about a win2k domain

Thanks for trying :-) (man this is frustrating)

Dan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 16, 2002 2:55 PM
To: LaSusa, Dan; [EMAIL PROTECTED]
Subject: RE: [Samba] winbind help for newbie


Have you run wbinfo -A Administrator%password ?

http://marc.theaimsgroup.com/?l=sambam=103848311516255w=2


~ Daniel


 -Original Message-
 From: LaSusa, Dan [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, December 14, 2002 11:30 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: [Samba] winbind help for newbie
 
 
 Following up with more info...
 
 When I run:
 
 ./winbindd -i -d 1
 winbindd version 2.2.7 started.
 Copyright The Samba Team 2000-2001
 Added domain LMC (S-1-5-21-1530202311-1617714320-7473742)
 getting trusted domain list
 Added domain LMCMIG (S-1-5-21-1039822437-107361799-1990678075)
 
 So it looks like it's adding the LMC Domain (which is what I
 want) but then
 adds LMCMIG too (which if fine, but I don't really need) it 
 almost seems to
 replace LMC with LMCMIG.
 
 When I then run
 
 wbinfo -m
 
 all I get is
 
 LMCMIG!
 
 I don't get it?!?
 
 Dan
 
 -Original Message-
 From: LaSusa, Dan [mailto:[EMAIL PROTECTED]]
 Sent: Friday, December 13, 2002 12:46 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: [Samba] winbind help for newbie
 
 
 I joined the domain (LMC) with the following command
 
 Smbpasswd -j LMC -r LMC_EXC1 (this is our PDC) -U administrator
 
 I then got prompted for the password, I entered it
 
 And got the message Joined the LMC Domain
 
 Then I stopped and restarted the smb service
 
 Did a wbinfo -u and then -g and still got info for the LMCMIG domain.
 
 I then went into the smb.conf file, changed
 
 Password server = *
 
 To
 
 Password server = LMC_EXC1
 
 Restarted smb
 
 Still got the info for LMCMIG
 
 Went back into smb.conf
 
 Changed
 
 Password server = LMC_EXC1
 
 To
 
 Password server = (IP address of server)
 
 Restarted smb
 
 Still no luck.
 
 Does SMB or Winbind have the info cached somewhere?  Is there
 a way to flush
 that cache???
 
 Thanks for your help!
 
 -Original Message-
 From: Errol Neal [mailto:[EMAIL PROTECTED]]
 Sent: Friday, December 13, 2002 12:26 PM
 To: LaSusa, Dan
 Subject: Re: [Samba] winbind help for newbie
 
 
 At 11:44 AM 12/13/2002 -0500, you wrote:
 I've been looking thru manpages and online for help.
 
 I *think* I've got winbind mostly setup (somehow) but it seems to be
 using the wrong Domain.
 
 Some info:
 I am running RH7.3
 Kernel 2.4.18-3
 Samba 2.2.7
 
 In my smb.conf file I have:
 [global]
  security = Domain
  workgroup = LMC
 
  winbind separator = +
  winbind uid = 1-2
  winbind gid = 1-2
  winbind enum users = yes
  winbind enum goups = yes
  winbind cache time = 10
 
 In my nsswitch.conf file I have:
 
 passwd:files winbind
 shadow:files winbind
 group:   files winbind
 
 When I do a wbinfo -u  or -g I get the info for our LMCMIG domain.
 
 Why is it using the LMCMIG domain instead of what I have in the
 smb.conf file? How do I tell it to use LMC??
 
 I am a newbie to all of this
 
 If I should be looking or asking elsewhereplease just let me
 know...
 
 Thanks for any help!
 
 Dan
 
 
 
 You might want to try the password server parameter. How did
 you join the 
 domain? Did you specifiy the IP address of the password server?
 
 
 Errol
 
 
 









---

This message is the property of Time Inc. or its affiliates. It may be
legally privileged and/or confidential and is intended only for the use of
the addressee(s). No addressee should forward, print, copy, or otherwise
reproduce this message in any manner that would allow it to be viewed by any
individual not originally listed as a recipient. If the reader of this
message is not the intended recipient, you are hereby notified that any
unauthorized disclosure, dissemination, distribution, copying or the taking
of any action in reliance on the information herein is strictly prohibited.
If you have received this communication in error, please immediately notify
the sender and delete this message. Thank you.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] winbind help for newbie

2002-12-14 Thread LaSusa, Dan
Following up with more info...

When I run:

./winbindd -i -d 1
winbindd version 2.2.7 started.
Copyright The Samba Team 2000-2001
Added domain LMC (S-1-5-21-1530202311-1617714320-7473742)
getting trusted domain list
Added domain LMCMIG (S-1-5-21-1039822437-107361799-1990678075)

So it looks like it's adding the LMC Domain (which is what I want) but then
adds LMCMIG too (which if fine, but I don't really need) it almost seems to
replace LMC with LMCMIG.

When I then run 

wbinfo -m

all I get is 

LMCMIG!

I don't get it?!?

Dan

-Original Message-
From: LaSusa, Dan [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 12:46 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [Samba] winbind help for newbie


I joined the domain (LMC) with the following command

Smbpasswd -j LMC -r LMC_EXC1 (this is our PDC) -U administrator

I then got prompted for the password, I entered it

And got the message Joined the LMC Domain

Then I stopped and restarted the smb service

Did a wbinfo -u and then -g and still got info for the LMCMIG domain.

I then went into the smb.conf file, changed

Password server = *

To 

Password server = LMC_EXC1

Restarted smb

Still got the info for LMCMIG 

Went back into smb.conf 

Changed 

Password server = LMC_EXC1

To

Password server = (IP address of server)

Restarted smb 

Still no luck.

Does SMB or Winbind have the info cached somewhere?  Is there a way to flush
that cache???

Thanks for your help!

-Original Message-
From: Errol Neal [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 13, 2002 12:26 PM
To: LaSusa, Dan
Subject: Re: [Samba] winbind help for newbie


At 11:44 AM 12/13/2002 -0500, you wrote:
I've been looking thru manpages and online for help.

I *think* I've got winbind mostly setup (somehow) but it seems to be 
using the wrong Domain.

Some info:
I am running RH7.3
Kernel 2.4.18-3
Samba 2.2.7

In my smb.conf file I have:
[global]
 security = Domain
 workgroup = LMC

 winbind separator = +
 winbind uid = 1-2
 winbind gid = 1-2
 winbind enum users = yes
 winbind enum goups = yes
 winbind cache time = 10

In my nsswitch.conf file I have:

passwd:files winbind
shadow:files winbind
group:   files winbind

When I do a wbinfo -u  or -g I get the info for our LMCMIG domain.

Why is it using the LMCMIG domain instead of what I have in the 
smb.conf file? How do I tell it to use LMC??

I am a newbie to all of this

If I should be looking or asking elsewhereplease just let me 
know...

Thanks for any help!

Dan



You might want to try the password server parameter. How did you join the 
domain? Did you specifiy the IP address of the password server?


Errol


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



[Samba] winbind help for newbie

2002-12-13 Thread LaSusa, Dan
Title: Message



I've been looking thru manpages and online for 
help.

I 
*think* I've got winbind mostly setup (somehow) but it seems to be using the 
wrong Domain.

Some info:
I 
am running RH7.3
Kernel 2.4.18-3
Samba 2.2.7

In 
my smb.conf file I have:
[global]
 security = Domain
 workgroup = LMC

 winbind separator = +
 winbind uid = 
1-2
 winbind gid = 
1-2
 winbind enum users = yes
 winbind enum goups = yes
 winbind cache time = 10

In 
my nsswitch.conf file I have:

passwd: files winbind
shadow: files winbind
group:files 
winbind

When I do a wbinfo -u or -g I get the info for our LMCMIG 
domain.

Why 
is it using the LMCMIG domain instead of what I have in the smb.conf file? 

How 
do I tell it to use LMC??

I 
am a newbie to all of this

If 
I should be looking or asking elsewhereplease just let me 
know...

Thanks for any help!

Dan



RE: [Samba] winbind help for newbie

2002-12-13 Thread LaSusa, Dan
I joined the domain (LMC) with the following command

Smbpasswd -j LMC -r LMC_EXC1 (this is our PDC) -U administrator

I then got prompted for the password, I entered it

And got the message Joined the LMC Domain

Then I stopped and restarted the smb service

Did a wbinfo -u and then -g and still got info for the LMCMIG domain.

I then went into the smb.conf file, changed

Password server = *

To 

Password server = LMC_EXC1

Restarted smb

Still got the info for LMCMIG 

Went back into smb.conf 

Changed 

Password server = LMC_EXC1

To

Password server = (IP address of server)

Restarted smb 

Still no luck.

Does SMB or Winbind have the info cached somewhere?  Is there a way to flush
that cache???

Thanks for your help!

-Original Message-
From: Errol Neal [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 13, 2002 12:26 PM
To: LaSusa, Dan
Subject: Re: [Samba] winbind help for newbie


At 11:44 AM 12/13/2002 -0500, you wrote:
I've been looking thru manpages and online for help.

I *think* I've got winbind mostly setup (somehow) but it seems to be 
using the wrong Domain.

Some info:
I am running RH7.3
Kernel 2.4.18-3
Samba 2.2.7

In my smb.conf file I have:
[global]
 security = Domain
 workgroup = LMC

 winbind separator = +
 winbind uid = 1-2
 winbind gid = 1-2
 winbind enum users = yes
 winbind enum goups = yes
 winbind cache time = 10

In my nsswitch.conf file I have:

passwd:files winbind
shadow:files winbind
group:   files winbind

When I do a wbinfo -u  or -g I get the info for our LMCMIG domain.

Why is it using the LMCMIG domain instead of what I have in the 
smb.conf file? How do I tell it to use LMC??

I am a newbie to all of this

If I should be looking or asking elsewhereplease just let me 
know...

Thanks for any help!

Dan



You might want to try the password server parameter. How did you join the 
domain? Did you specifiy the IP address of the password server?


Errol


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



RE: [Samba] Samba on XFS filesystem

2002-12-13 Thread LaSusa, Dan
Have you checked 

/proc/sys/fs/file-max?

See what that value iswe had the same error (non-samba) and this value
was set to 8192.

Try raising the value in this file??

Dan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 13, 2002 2:25 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba on XFS filesystem


hi all
I run a 2TB intel server based on RedHat with XFS kernel patch . I am
experiencing situations when some vb application causes the system to
experience the following error too many open files and no body can access
certain folders .A volume repair is done and then it is ok . For a while .
Clients are win98 and w2k server or wks .

any hints

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