[Samba] RPC protocol error with one user on login (64 bit svr 2003 client - samba 3.0.14a PDC)

2005-07-24 Thread Brad Langhorst
This user is attemting to log in on a win2003 64 bit client to a PDC
running 3.0.14a.

The user is able to log on on another machine (32 bit, I don't have
another 64 bit machine)

There was a local user with the same username but that user was deleted
after adding the machine to the domain.

I cannot see an error in a level 5 log from the client.
I see nothing in the windows event log.

I did find a similar thread from the end of may
Re: [Samba] RPC error logging in to PDC on Win-64

but no resolution...

Jeremy and Jerry asked for a packet dump... 
I have made that dump.

The strange bit is that this error does not occur for another user with
the same permission set.

please find the trace here:
http://langhorst.com/rpc_error.pcap

a level 5 log fragment can be found here:
http://langhorst.com/rpc_error.smblog

or a tgz with both here:
http://langhorst.com/rpc_errors_64bitlogon.tgz

I'm trying to figure this out myself but it's going to be slow going...

thanks for any help!

brad



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


Re: [Samba] RPC protocol error with one user on login (64 bit svr 2003 client - samba 3.0.14a PDC)

2005-07-24 Thread Brad Langhorst
On Sun, 2005-07-24 at 11:21 -0700, Jeremy Allison wrote:

  I did find a similar thread from the end of may
  Re: [Samba] RPC error logging in to PDC on Win-64
  
  but no resolution...
 
 That's because it got fixed in the SAMBA_3_0 SVN code. It's
 also fixed in the 3.0.20 pre release.
 
 Jeremy

thanks for the reply... i should have checked the commits...

brad

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


[Samba] can't join to a domain... can_add_account is returning false

2005-07-22 Thread Brad Langhorst
I have just set up a domain and am trying to join a machine to it.
When i watch the log i see

[2005/07/22 14:56:26, 5]
rpc_server/srv_samr_nt.c:_samr_create_user(2311)
  _samr_create_user:  can add this account : False
Error: modifications require authentication
at /usr/share/perl5/smbldap_tools.pm line 892, DATA line 283.
[2005/07/22 14:56:28, 0]
rpc_server/srv_samr_nt.c:_samr_create_user(2324)
  _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
newt$' gave 127

so for some reason my account (root) is not passing the can_add_account
test and the add user script is not being run as root.

I don't know why since root is a member of the correct groups 

#groups root
root : Domain Admins Administrators

I've also tried it with Administrator who is a member of the same
groups

This is with the ldapsam backend for samba and libnss_ldap for linux.

I thought I'd ask while I wait for samba to compile with my debugging in
there...

What did I do wrong?

brad

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


Re: [Samba] Samba with Firewall

2005-07-22 Thread Brad Langhorst
On Fri, 2005-07-22 at 12:37 -0700, Joshua Drake wrote:
 Hello,
 
 O.k. question, is this possible:
 
 Map drive:
 private_network-LinuxFirewall/IP-MASQ-Internet-LinuxFirewall/Portfordward-SambaServer
 
 ?
probably not without using an vpn of some sort...
your packets will likely be eaten by some host along the way.

investigate openswan

you might be able to do this with ssh and port mapping.

brad

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


[Samba] Re: Can someone verify my checklist?

2004-02-24 Thread Brad Langhorst
On Tue, 2004-02-24 at 04:17, Henrik Nordstrom wrote:

 The blank password is the default password when automatically joining
 the domain. The preferred mechanism is to join interactively using an
 administrator account and this will automatically create the machine 
 accounts when joining the domain.
this is no fun when you're installing a large number of machines.

I used to use ghost to handle this - but it doesn't work after 3.0.1.

Once could probably use sysprep to do the domain join but that has the
serious drawback (for me) of requiring either a config floppy for each
machine or a random machine name.

brad



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


[Samba] upgraded to 3.0.2 - funkyness in machine accounts

2004-02-19 Thread Brad Langhorst
My old technique was to 
1) remove all machine accounts from ldap
2) reimage all machines
3) create all the machine accounts with smbldap-adduser -w
4) switch all machines to domain mode

that does not work anymore...
the machine accounts exist in ldap 


but i get this internally contradictory info in the logs

[2004/02/20 02:29:52, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
  init_sam_from_ldap: Entry found for user: durant$
[2004/02/20 02:29:52, 0] rpc_server/srv_netlog_nt.c:get_md4pw(218)
  get_md4pw: Workstation DURANT$: no account in domain

huoh - it finds the entry but then says no account in domain?

doing a manual join also fails initially - 

[2004/02/20 02:21:45, 2] lib/access.c:check_access(324)
  Allowed connection from  (132.177.45.42)
[2004/02/20 02:21:45, 2]
rpc_server/srv_samr_nt.c:_samr_lookup_domain(2461)
  Returning domain sid for domain LAUELAB -
S-1-5-21-3603135777-1134410093-4029533982
[2004/02/20 02:21:46, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(1478)
  ldapsam_add_sam_account: User 'maribeth$' already in the base, with
samba attributes
[2004/02/20 02:21:46, 0]
rpc_server/srv_samr_nt.c:_samr_create_user(2251)
  could not add user/computer maribeth$ to passdb.  Check permission

but if i repeat the attempt without deleting the machine account i get a
successful join.

i've tried wiping out all the tdbs and resetting the domainsid and ldap
passwords


what's going on here?

brad


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


Re: [Samba] samba 2.2.6 to samba3.0

2003-10-23 Thread Brad Langhorst
On Wed, 2003-10-22 at 16:12, Yahya AZZOUZ wrote:
 hello,
 
 i want to update samba 2.2.6 to 3.0.
 i have samba-ldap installed.
 i don't want to create all the machine again. What files i have to save 
 from samba 2.2.6 to have all the machines in the domaine after installed 
 samba 3.0.
you just need to maintain the same domain SID (and name of course0
use 
rpcclient's lsaquery command on the old installation to determine this 

then use net setlocalsid with that value on the new installation.

Be aware that the ldap schema has changed so you'll have to migrate your
data (or i'm told there are some compatibility ldap options - google if
you want that)

it's pretty painless really - there are scripts to do the ldap upgrade.

best wishes!

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


Re: [Samba] samba acting as bdc

2003-10-07 Thread Brad Langhorst
On Tue, 2003-10-07 at 13:47, Gémes Géza wrote:

 If I'm not asking for too much, could you tell us more about the
 fam+rsync setup?
 

fam
http://oss.sgi.com/projects/fam/

i use fam to call rsync -e ssh /localdir [EMAIL PROTECTED]:/remotedir
to keep from having to use passwords i use the the certificate features
of ssh

i wrote a perl script using the SGI::Fam module to register files,
detect changes and propagate them using rysnc.

I later found out that somebody else did something similar:
fam_mirror
http://tldp.org/linuxfocus/common/src/article199/fam_mirror.html

best wishes

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


Re: [Samba] samba acting as bdc

2003-10-06 Thread Brad Langhorst
On Fri, 2003-10-03 at 04:34, Michal Gubik wrote:
 Hello,
 I am sorry if I anyone asked this before but I would like to know if its 
 possible to use samba 3 to backup data including profiles and netlogon 
 scripts from samba 3 pdc? If so how can I do it? I tried to search this 
 but never found a suciffient answer.
 Michal Gubik

see the samba howto collection for how to configure samba

to have an effective samba pdc you need to keep a few things in sync
1) password database
2) netlogon share
3) user profiles


i use fam to detect changes in the latter two and rsync to synchronize
them

i use replicated ldap to handle the password database.

best wishes!


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


Re: [Samba] 3.0 question

2003-10-06 Thread Brad Langhorst
On Mon, 2003-10-06 at 19:05, Curtis Vaughan wrote:
 Ok, I'm using ldapsam 2.2
 
 But I don't understand something.  Let me put it this way, can I put 
 Samba 3 on the Debian box and it will work, or do I still have to make 
 some changes to LDAP on the RedHat server?
afaik samab3 will not use a samba2 ldap store...

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


Re: [Samba] 3.0 question

2003-10-04 Thread Brad Langhorst
On Sat, 2003-10-04 at 13:12, Curtis Vaughan wrote:
 Anyhow, I want to give 3.0 a go in our organization, but I don't want 
 to update the RedHat server - yet.  So, my question is this, can I take 
 advantage of 3.0 by updating the Debian server, but it must somehow get 
 user logon information through PAM/LDAP from the RedHat server.
If you're using ldapsam in 2.2 then you can't use the same 
ldap store with ldapsam in 3.  Many changes were made to the schema.
If you have just unix accounts in ldap on the redhat box you can add the
samba stuff to that datastore and use it from the debian box.


 When I say take advantage, I want to move over to an active 
 directories, etc. environment.
you can't do that with samba3 alone - it can be a member server but not
whatever the analog of a pdc is in AD.

brad

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


Re: [Samba] Re: Samba entries in the LDAP tree, help!

2003-10-04 Thread Brad Langhorst
On Fri, 2003-10-03 at 19:33, Alex wrote:
 I'm curious, the samba.schema is for Samba 2.0.  Is there a new Schema 
 for Samba 3.0 that includes ACLs?
new schema
acls are handled by the filesystem 


brad

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


Re: [Samba] Create machine account samba 3 - can I delete machine in /etc/passwd ( I use ldap backend ) ?

2003-10-04 Thread Brad Langhorst
On Fri, 2003-10-03 at 12:25, jean-marc pouchoulon wrote:
 Hi,
   The idea is to avoid to have machines accounts in /etc/passwd
 and store all on the ldap.  
 
   I must have a machine account in /etc/passwd ( normal way ) to
 create the account with pdbedit -a -m machine_account.
   In fact once it is created , I can delete the account in the
 localmachine and machine can connect without any problems. ( the account
 stay only in the ldap ). I 've done it.
 
   What kind of probleme can I have if I delete account machines in
 the /etc/passwd ? 
   There is no attribute of posix account object store in the ldap
 for the machine . Must I create them ?
bad things will happen if you delete those accounts...
Machine accounts are like regular accounts... they must be real for both
samba and unix (there was some non unix account hackery in samba3 for a
while but it was abandoned)

You can do this two ways 
1) keeping samba password db and unix passdb in sync
2) unifiying the passdb

If you're using ldap already I suggest you look into the nssldap stuff
from padl and integrate all accounts to one location.


brad

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


Re: [Samba] file permissions

2003-09-29 Thread Brad Langhorst
On Mon, 2003-09-29 at 07:17, rob wrote:
 Hi
 
 i'm using samba as a file print server on suse 7.3, clients are windoze
 95,2K,XP.
 
 basic problem is that sometimes the files created from a windows client have
 a ownership of root, this causes problems mainly with backup programs (as it
 affects/prevents the unix - dos archive bit mapping) as I don't then own
 it), i havn't set up a user root on the windows systems so how can this
 happen?
i think this could happen as a result of the sticky bit being set on the
directory. it could also be a force user or some other clause in the
smb.conf...

try to duplicate the problem and capture a level3 log of what is
happening so you can understand it.

 
 btw if i set valid users to a set of user names this problem seems to go
 away, can anybody advise why the 'root' name appears
hmm
do you have administrator mapped to root in a username map?

 
 as an aside how do i clear a username/password for a network share in
 windoze, as just deleting the share doesn't seemd to do this.
I'm not sure about this one -- but i think net use /d may work...


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


Re: [Samba] Samba, Redhat 9.0, Not doign ACl.. (cannot load User list at this time)

2003-09-29 Thread Brad Langhorst
On Mon, 2003-09-29 at 09:01, Damien Roy wrote:

 this is something which every where I have searched they have said, this can't 
 happen.. you can't get a list of users using samba as the PDC, you need to be 
 running a 2k or higher PDC.
 
this can work...
try samba3 

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


[Samba] Re: net getlocalsid: some questions

2003-09-29 Thread Brad Langhorst
On Mon, 2003-09-29 at 06:01, werner maes wrote:
 Hello,
 
 Is it possible to get the SID of a domain different than the one your 
 server is in?
 
 e.g.: net getlocalsid == gives you the sid of the domain your server is in.
 but suppose you would like to know the SID of another domain.
 
 net getlocalsid DOMAIN2 == samba3 does not give the SID
i think you can use use rpcclient's  lsaquery command

brad
PS this belongs on samba not samba-technical - please don't post to both
lists.


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


Re: [Samba] Password question

2003-09-24 Thread Brad Langhorst
On Wed, 2003-09-24 at 21:02, John Brown wrote:

 How would the users change their passwords on this stand alone server?  Are
 there any Samba or LDAP tools that could be used? 
I think you could modify the idealix tools (included in the samba
distribution) to do what you want.

smbldap-useradd
...

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


[Samba] convertSambaAccount can handle output from ldapsearch -x

2003-09-12 Thread Brad Langhorst
perl's ldap stuff can't read the results of ldapsearch -x

you have to use slapcat instead.

maybe this will save somebody some time / confusion.

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


Re: [Samba] Profile doesn't copy some files

2003-08-26 Thread Brad Langhorst
On Mon, 2003-08-25 at 20:58, Max Harvey wrote:
 Hi,
 
 Samba 2.2.8a, RH7.3, network of Win2K machines with roaming profiles
 
 
 The roaming profiles don't seem to copy all of the files under
 c:\Docu...\username\*
 
 One of the folders it doesn't copy is the (hidden) folder 'Local
 Settings'.
that's by design 
local folders are local - they don't roam

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


RE: [Samba] Profile doesn't copy some files

2003-08-26 Thread Brad Langhorst
On Mon, 2003-08-25 at 21:51, Max Harvey wrote:
  From: Brad Langhorst [mailto:[EMAIL PROTECTED] On Behalf 
  On Mon, 2003-08-25 at 20:58, Max Harvey wrote:
   Hi,
   
   Samba 2.2.8a, RH7.3, network of Win2K machines with roaming profiles
   
   
   The roaming profiles don't seem to copy all of the files under
   c:\Docu...\username\*
   
   One of the folders it doesn't copy is the (hidden) folder 'Local 
   Settings'.
  that's by design 
  local folders are local - they don't roam
  
 
 But all my Outlook files store them selves there! How do I get about
 that ?

Yeah I got burned by that one...
I don't know why they're so braindead a to put the important stuff in a
throw away location by default. I think it's because those files get so
huge.  

On our network the outlook files reside on the server rather than in in
the profile.

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


RE: [Samba] Slow Windows XP shared browsing.

2003-08-14 Thread Brad Langhorst
On Mon, 2003-08-11 at 18:40, Matthew Scarrow wrote:
 I tried blocking 445 tcp and udp and then tested but it didn't fix the
 problem. Thanks
i was saying unblock...
you could also try disabling netbios over tcp in on the client to see
what that does (just to see if this is the problem)

really no speculation substitutes for careful reading of the logs

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


Re: [Samba] PDC Functions

2003-08-14 Thread Brad Langhorst
On Thu, 2003-08-07 at 23:33, Mike Miller wrote:
 Well The windows 2000 machine is trying to obtain the SID for a user 
 [domain\username], 
is that 2k machine joined to the samba domain?
the SID is not really a secret so i don't know why it would be tight
about them
if the sid is just the machine's SID + a user ID
2*UID+2 (if i recall correctly)
you can determine the samba machine's SID with 
rpcclient (lsaquery command)

 but it is very tight about such security of the users' 
 SIDs.  
windows is tight or samba is tight?

 It _will_ give me a list of users, but not their SIDs in order to 
 assign file permissions to these users.
there should be no users on the win2k machine in a pdc environment.

Are you trying to migrate to samba?
There is tool to suck out the info from an NT4 pdc (vampire)
but I'm not aware of any tool to migrate from 2k to samba.

I don't know how to determine the SIDs of your 2k users but they must be
in the 2k user manager somewhere.

What's stopping you from just recreating all the users on the new PDC? 

I don't really understand what you're trying to do... sorry

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


Re: [Samba] PDC Functions

2003-08-14 Thread Brad Langhorst
On Fri, 2003-08-08 at 10:41, Mike Miller wrote:
 What I'm attempting to do is get services for unix working on a win2k box, 
 running off of a samba PDC.   I am having great difficulty doing so.  I have 
 added a trust relationship and added the 2k server into the domain.  I then 
 try and change ownership to anyone in the domain without luck.  It always 
 gives me that the Sid Lookup Failed.  Microsoft said the following and 
 basically told me to use an NT/2k PDC.  I completely trust the machine in 
 every way, so I'm not too worried about security of the machine, however I 
 want it to work on these RPC calls to get the SIDs.  For some reason, it 
 doesn't seem to be giving me any SIDs.  Any ideas?
I'm afraid I don't...
Perhaps somebody who has done this before will pipe up.
If not you'll probably have to use tcpdump to see what exactly the 2k
unix services are trying to do so that the samba team will know what
calls are not being emulated correctly.

good luck

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


Re: [Samba] PDC Functions

2003-08-14 Thread Brad Langhorst
On Thu, 2003-08-07 at 23:22, Mike Miller wrote:
 Hi,
 I am trying to set up Samba as a PDC on our network and having some 
 difficulty.  I established a trusted machine account and added it to the 
 domain.  Samba will however not release the SIDs needed by our servers 
 working off of it.
what are you talking about? I don't know what releasing a SID means.

brad

PS
don't cross post to samba-technical 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Slow Windows XP shared browsing.

2003-08-14 Thread Brad Langhorst
On Mon, 2003-08-11 at 17:51, Mark Ford wrote:
 Home many users and what kind of Hard Drives in your server?
I have a p100 server that comes up very quickly - i suspect a network
timeout.

Do you have a firewall set up ?
You might be disallowing connections on 445 thus causing a timeout and
reconnection on 139.

I think you can force the client to avoid 445 (not sure about that)

You'll want to have a look at the logs to see exactly what is happening
on the server during the time your client is hung.


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


RE: [Samba] Slow Windows XP shared browsing.

2003-08-14 Thread Brad Langhorst
On Mon, 2003-08-11 at 18:11, Matthew Scarrow wrote:
 Just a quick question about the ports you mentioned. What is port 445 used
 for in xp.
see 
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q204279.
for more info

I'm no expert but I think it's essentially smb over ip without the
netbios stuff

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


Re: [Samba] Print Job Names Are Obscure

2003-08-12 Thread Brad Langhorst
On Mon, 2003-08-11 at 13:34, adam r. christopher wrote:
 Hello all,
 
 Is there any way to stuff a more descriptive tag into a print job name?
 The jobs we're printing now are of the type: smbprn.003447.sdfasa
 
 I seem to remember a way to put the sending machine's name into the job
 name.
 
 Any help would be greatly appreciated!
Since nobody else seems to be responding...
(and since I spent a little time at DU ;)

If you're using cups - it looks like you are (you really should specify
that info in your original post...) this may apply to you.
 
I think you can't control the job names that get submitted unless
you don't use the cups api and use the lpr interface to cups instead.
Then you can use the % variables to sumbit the jobs to be whatever you
want.

if you want machine name you could use %m i think...

best wishes

brad

PS - I hope somebody comes along and says - no you can do it using the
cups API like this - ...

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


Re: [Samba] Wierd 2000/XP problem

2002-05-13 Thread Brad Langhorst

Kieran Farrell wrote:

Heyas,

Not so much sambas fault, 

not at all actually - this would happen even if you were logging in an 
NT domain.

but when I log on as a user, some of my installed 
software ceases to work. I get missing file errors, corrupt file errors etc.

When I log on locally the programs work again. I had the same problem when I 
was using 2000 server, I got around it by making all my users domain admins 
(not preferable but it worked).
  

you can do that with samba too - but the right fix is to loosen up the
permissions on the appropriate files on your clients. Finding out which 
files
will probably involve a fair amount of trial and error.

good luck!

brad


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



Re: [Samba] How do you configure SWAT to show all options with regularlogon id?

2002-05-06 Thread Brad Langhorst

well  i think its still there

admin users (S)

This is a list of users who will be granted administrative
privileges on the share. This means that they will do all file
operations as the super-user (root).

You should use this option very carefully, as any user in this list
will be able to do anything they like on the share, irrespective of
file permissions.

Default: /no admin users/

Example: *admin users = jason*


try switching swat to advanced mode

brad

[EMAIL PROTECTED] wrote:

I am using version 3.0-17 and I don't see an admin users field. Any 
ideas where they may have changed it?

-Original Message-
From: brad [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 05, 2002 11:19 AM
To: drew.arthur
Cc: samba
Subject: Re: [Samba] How do you configure SWAT to show all options with
regular logon id?


[EMAIL PROTECTED] wrote:

  

When I log into SWAT with my regular logon id it only shows me HOME 
STATUS VIEW  PASSWORD configuration Links at the top of the page. 

When I logon as root user I see all options. What do I need to 
configure to give my regular login id access to all configuration 
options in SWAT?


 



put your regular user into the admin users field

brad




  





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



Re: [Samba] Samba as PDC and Win XP Pro Machine Accounts

2002-05-06 Thread Brad Langhorst

Fernando Maidana wrote:

 Hi Brad!
 Thanks for your help!!
 I try to configure de clientes to use the WINS server 192.168.1.1 in 
 the TCP/IP properties (Networking in the Control Panel) and the same 
 error occurs.  But I think that your method is pretty different 
 And I don't underestand it pretty well...
 The Machine IP (Windows XP Client) is 192.168.1.2 and is not using 
 DHCP, so the ip is Static.

not really - if you make all the settings manually then we should have 
the same result.

  
  
 How can I do to configure the DHCP as you suggest?

see below

  
 option domain-name-servers 192.168.1.1;
 option subnet-mask 255.255.255.0;
 default-lease-time 6000;
 max-lease-time 72000;

 subnet 192.168.1.0 netmask 255.255.255.0 {
   range 192.168.1.2 192.168.1.254;
   option broadcast-address 192.168.1.255;
   option routers 192.168.1.1;
   option netbios-name-servers 192.168.1.1;
 }
 I don't underestand the previous statments... They are from the 
 smb.conf??? I think the answer is not But I'm newbie to Samba, 
 yesterday was my first day using it Is not bad for the first time 
 don't u think? :)

those statements are from dhcpd.conf - a separate program.
I didn't realize you were so new to things - you might have other 
simpler problems. See below for some suggestions

  
 Another question, can I use Samba as DHCP server???
  

Samba won't do DHCP by itself but's trivial to install a the dhcpd from 
the ISC for most distributions.
if you're using debian just type 'apt-get install dhcpd'
and modify the dhcpd.conf to look like the conf file I sent you.
You don't have to do this though - it should work fine with manual 
configuration.

 Well, thanks for your help again, and sorry to send you a personal 
 e-mail, but I can't find the way to post a reply in the mailing list!!! :(
  

just do reply all
or type [EMAIL PROTECTED] in the cc line

 Fernando
  
 Ps. Sorry about my english, is pretty bad Is not my native language.

I also speak spanish, but I think your english is better than my spanish

Are you sure that the registry patch worked?  It says that it does but 
I had to do it by hand using regedit
before.

Looking more carefully at your config file i think you need to set

domain logons=yes


brad

 Fernando Maidana wrote:

 /Hi there!
 //I'm having problems to join a Machine Acount to a Samba PDC using Samba
 //2.2.3a
 //Even if I apply the registry Patch XP reports the following error:
 //
 //-
 //Is possible that the Domain Name FAMILIA was a NetBios name.
 //If is that the case, make sure that the Domain Name is correctly
 //registred with WINS.
 //
 //If you're totaly sure that it isn't a NetBios name, the following
 //information will help you to solve your DNS configuration problems.
 //The following error was occured making a request to DNS for SRV used to
 //find the Domain Controller in the FAMILIA Domain:
 //
 //The error was: (error code 0x05B4 ERROR_TIMEOUT)
 //
 // 
 //
 /try configuring the clients to use the WINS server
 192.168.1.1 as well

 you can do this by dhcp like this

 option domain-name-servers 192.168.1.1;
 option subnet-mask 255.255.255.0;
 default-lease-time 6000;
 max-lease-time 72000;

 subnet 192.168.1.0 netmask 255.255.255.0 {
   range 192.168.1.2 192.168.1.254;
   option broadcast-address 192.168.1.255;
   option routers 192.168.1.1;
   option netbios-name-servers 192.168.1.1;
 }






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



Re: [Samba] How do you configure SWAT to show all options with regularlogon id?

2002-05-05 Thread Brad Langhorst

[EMAIL PROTECTED] wrote:

When I log into SWAT with my regular logon id it only shows me HOME 
STATUS VIEW  PASSWORD configuration Links at the top of the page. 

When I logon as root user I see all options. What do I need to 
configure to give my regular login id access to all configuration 
options in SWAT?


  

put your regular user into the admin users field

brad



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



Re: [Samba] Samba as PDC and Win XP Pro Machine Accounts

2002-05-05 Thread Brad Langhorst

Fernando Maidana wrote:

Hi there!
I'm having problems to join a Machine Acount to a Samba PDC using Samba
2.2.3a
Even if I apply the registry Patch XP reports the following error:

-
Is possible that the Domain Name FAMILIA was a NetBios name.
If is that the case, make sure that the Domain Name is correctly
registred with WINS.

If you're totaly sure that it isn't a NetBios name, the following
information will help you to solve your DNS configuration problems.
The following error was occured making a request to DNS for SRV used to
find the Domain Controller in the FAMILIA Domain:

The error was: (error code 0x05B4 ERROR_TIMEOUT)

  

try configuring the clients to use the WINS server
192.168.1.1 as well

you can do this by dhcp like this

option domain-name-servers 192.168.1.1;
option subnet-mask 255.255.255.0;
default-lease-time 6000;
max-lease-time 72000;

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.2 192.168.1.254;
  option broadcast-address 192.168.1.255;
  option routers 192.168.1.1;
  option netbios-name-servers 192.168.1.1;
}




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



Re: [Samba] rpm build with samba

2002-04-18 Thread Brad Langhorst

Sam Khean wrote:

Hi,
I'm trying to figure out how to use rpmbuild with samba. I know you need to
make a spec file, but i was wandering if there's like a file similiar to the
redhat ks.cfg which tells you what packages you have installed. So you can
use this file to automate the samba installation.

Thanks


have a look in packaging/RedHat

brad



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