Samba Installation


 
Thread Tools Search this Thread
Operating Systems AIX Samba Installation
# 15  
Old 04-13-2008
Samba Installation

" One way to test samba is to open Windows explorer and use the syntax, now don't flip the slash directions: \\192.168.0.144 "

On XP, password window opens.
Put in root, and as I do not use a password clicked ok and XP altered password window to user BANORA/root.
Leaving password blank click ok and window stays there waiting for password.
Altered user to banora/root and it jumps back to BANORA/root.
Alter user to banora and it jumps back to BANORA/root

"Another way to test samba is to open Internet Explorer and type file://192.168.0.144 Again, do not flip the slash directions "

Same thing happened here as above.

W2K with Firefox did nothing ie no password Window.

I think all the above is happening because neither client, XP and W2K, has been set up as per the RedBook.

Bakunin is probably right re those 129.183 entries.
I must get into SWAT and fix up that configuration file.
The RedBooks say http://banora:901 must be working before setting up the clients.

Perhaps my router settings are fouling this up ?

Anyway I have altered that many files and settings in AIX5.2 am going to wipe it out and start again with the IBM Samba 2.2.7-4 which is a later version than the Bull one I was using.
Uninstalled Bull Samba in smit, but all the old bull ( pardon the pun ) I put in the various files was not deleted. hence the reinstall of AIX 5.2.

A new leaf, stay tuned.

Have a good trip.
# 16  
Old 04-15-2008
Samba Installation

Things have fared better on the new install of AIX 5200-09 on banora 192.168.0.144.
The IBM version of Samba 2.2.7-4 does not set up a smb.conf so I used the old one
with two modifications listed below in { .... } brackets.

[global]
workgroup = OPEN SOURCE
server string = Samba 3.0.4.0 { altered ver to 2.2.7-4 }
security = user
encrypt passwords = Yes
smb passwd file = /var/samba/private/smbpasswd
{ altered to: smb passwd file = /usr/bin/smbpasswd }
{ refer to #find / -name smbpasswd below }
log file = /usr/local/samba/var/log.%m
mangle case = Yes

[homes]
force user = %U
read only = No
hosts allow = 129.183.

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

[public]
path = /tmp
guest ok = Yes

The command # /usr/bin/smbclient -L banora seems to work better

added interface ip=192.168.0.144 bcast=192.168.0.255 nmask=255.255.255.0
Password:
Anonymous login successful
Domain=[OPEN SOURCE] OS=[Unix] Server=[Samba 2.2.7]
Sharename Type Comment

homes Disk
public Disk
IPC$ IPC IPC Service (Samba 2.2.7-4)
ADMIN$ Disk IPC Service (Samba 2.2.7-4)
hp4500duppcl Printer

Server Comment

Workgroup Master

The command #/usr/bin/testparm | pg seems to work well also

Load smb congig files from /etc/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Precessing section "[public]"
Loaded services file OK.

Now to http://banora:901 in Seamonkey
Up pops a password box.
banora has only one user root who does not use a password
Log on to computer is always root and password left blank.
In the Seamonkey password box as a result of http://banora:901 I put in root as
user and leave the password box empty. Get 401 Bad Authorisation username or password incorrect.

I then tried this to set up user root without a password in smb.conf

# smbpasswd -a root
enter new smb password:
retype new smb password:
getsmbfilepwent: malformed password entry (no Smilie
getsmbfilepwent: malformed password entry (no Smilie
getsmbfilepwent: malformed password entry (no Smilie
getsmbfilepwent: malformed password entry (no Smilie
getsmbfilepwent: malformed password entry (no Smilie
add smbfilepwd entry: unable to open file.
Failed to add entry for user root.
Failed to modify password entry for user root
#
I tried to give user root a password as admin123 but still got this error.

Reading the web I think http://banora:901 to get into SWAT needs an association
between /etc/passwd and /etc/smbpasswd.
Here is my hunt on banora

# find / -name passwd
/usr/bin/passwd
/etc/passwd
/etc/security/passwd

# find / -name smbpasswd
/opt/freeware/bin/smbpasswd
/usr/bin/smbpasswd

# ls -l /etc/passwd
-rw-r--r-- 1 root security 526 Apr 13 11:22 /etc/passwd

# ls -l /usr/bin/smbpasswd
lrwxrwxrwx 1 root system 32 Apr 12 16:22 /usr/bin/smbpasswd
-> . ./../opt/freeware/bin/smbpasswd
#

Three questions please

(1) Is the password association matter stopping the http://banora:901 password
window in Seamonkey from working, using user root without a password ?

(2) Is the password path alteration I made in smb.conf okay ?

(3) The path in smb.conf " /usr/local/samba/var/log.%m " does not exist. There is
no file called log.%m in the computer. Does this matter ?

Regards
# 17  
Old 04-15-2008
Samba Installation

Don't know where those smilies came from.
Lines should have read

getsmbfilepwent: malformed password entry (no Smilie
# 18  
Old 04-15-2008
Samba Installation

Smiley gremlin

Line should have read at end

(no, then a space, then a semi colon )
# 19  
Old 04-16-2008
Samba Installation

Discovered by pure accident that root MUST have a password for http://banora:901 to work on opening SWAT.
Am now at the SWAT configuration screen which has a Wizard button which is not covered in my Redbook manuals.
Will hunt this down on how to fill it out.
Thanks Prichard for all your help and patience in getting me this far with Samba.

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 flash installation - fatal error. Solaris installation program exited.

Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error. Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies

2. Red Hat

Samba installation failing on Linux

We are trying to install samba server on linux environment but it's failing with following errors. Could any of you help me on this. body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Segoe UI;font-size:9pt;vertical-align:top }/* Copyright IBM Corp. 2011 All Rights Reserved. ... (4 Replies)
Discussion started by: talk1234
4 Replies

3. Red Hat

Samba installation issue

hey, i am trying to install a new samba server using the source package in my redhat machine.i am using samba 3.6.4 version.actually i am not able to find out the smb.conf file in there.can anyone give me any idea about where to look for this configuration file?? (3 Replies)
Discussion started by: htshshrm2
3 Replies

4. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

5. UNIX for Dummies Questions & Answers

samba

hi all having lots of issues with Macs connecting to samba servers being published via Red Hat 5.1. Seems to be varring problems depending on what OSX version we run from 10.5 to 6.3. I found a not on one of the forums about adding the unix extenstions= no and that has cured a few macs but not.... (0 Replies)
Discussion started by: treds
0 Replies

6. UNIX for Advanced & Expert Users

Why Samba is still pointing to old version after installation

Hallo, I am new to administer a Unix machine. Basically I have just upgrade the samba version from 2.2.8a up to 3.0.22 on Sol 9 SV210. the installation was successful. but then when I checked the version by using /usr/sfw/bin/smbstatus it was still showing 2.2.8a. I've restarted samba... (1 Reply)
Discussion started by: Luky
1 Replies

7. Solaris

samba installation

Hi All, I want to install Samba packages in my server...I saw the processes that are related to samba are running. Being root, i dont have full permissions to stop samba and start it. I dont know whether i can kill the samba process. I was told to install samba on the system... ... (5 Replies)
Discussion started by: jegaraman
5 Replies

8. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies

9. UNIX for Advanced & Expert Users

Samba installation

HI. I am still having problems installing samba. i found a site where there is a package for auto install. i click on the link and it start to data stream, what going on, i thought it suppose to install it to /usr/local/ . Here is the link i download or try to download the... (4 Replies)
Discussion started by: souldier
4 Replies
Login or Register to Ask a Question