Dynamic User Name & Password Creation

Hello,
In My Project I want to create no. of dynamic username & password as per user enters no of user he/she want to create.
For that i used database table's last auto-increment value and increment it to 1 & append it to 'st' for student(st+01)
so i am creating User name & Password Like st02 & st02 etc.
now my problem is when maxium limit of auto increment number is reached Usernmae & password repeats,so unique usernmae & Password creation not possible?
Is there any other way to do this other than using databse table's auto-increment field

Make sure the ID doesn't loop? An int(11) should provide MORE than enough possibilities. Be sure to use a long on the java side to hold the ID.

Similar Messages

  • Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard

    MDT 2012 U1
    Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
    I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
    We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
    The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
    But since we use the fields they must still  be fuctional just not seen.
    Thanks.....
    If this post is helpful please click "Mark for answer", thanks! Kind regards

    You shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
    Example:
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipAdminPassword=YES
    UserID=<MyUserID>
    UserPassword=<MyPassword>
    UserDomain=<MyDomain.com>
    SkipProductKey=NO
    SkipComputerBackup=YES
    SkipBitLocker=NO
    -Nick O.
    Nick,
    SkipAdminPassword=YES is for:
    You can skip the Administrator Password wizard page by using this property in the
    customsettings.ini.
    I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
    DomainAdminPassword=xxxxx
    DomainAdminDomain=xxxxxx
    JoinDomain=xxxxxx
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • HT1515 Will Airport Express work in hotels in China? They require user name/password to connect. Has anyone used one there?

    I will be traveling in China with my iPad2 and want to use hotel wireless. It requires a sign-in with user name/password.  Can I use an Airport Express for this purpose? How do I set it up for that? I have an old Express (pre-2007); can I use it or do I need to upgrade to the new model?

    OK - I have never been to China but the posts here say that it can be done - the cable from the hotel should be connected to the WAN port of the Express - the Express should be in bridge mode and set to create a wireless network with a name and password of your choice - you can do this with a computer before you leave for China or with the iPad if you have previously downloaded the Airport Utility app - you would then connect to your network and attempt to bring up a web page such as Google - the hotel should then intervene and ask you for the login info that they have provided.
    Charlie

  • File Adapter - anonymous login (or )User name ,password login - Efficient?

    Hi Folks,
    In File Adapter processing , anonymous login (or) proper user name password based login is recommended ?
    Because we have faced many issue while using username based login in File adapter  .
    Which one is best ?
    Regards.,
    Shiva

    Hi Shiva ,
    We will go one by one :
    You can go for the Anonymous login  but the problem is the any body can access the FTP server and it is not the secure one,that is why business generally don't allow the Anonymous login.
    Coming to Proper user name password login ,I would advice you to use this one as the connection is more secure in this case.But this also comes with a problem that the username password generally expires after some time as per security policy and you have to change the username password for the FTP server as well as in File adapter which you are using.But this problem can be solved by going for a permanent username and password.
    I would recommend you to go for Proper user name and password.
    Regards
    Ravi Anand
    Edited by: Ravi Anand@85 on Mar 12, 2010 7:56 AM

  • Error: sql.SQLError: [-4008] (at 1) Unknown user name/password combination

    Hello Experts,
    After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
    Logical Command: DBMRFC
    Parameter: exec_lcinit register
    Name and Server     : LCQ - dusepierp12
    DBMRFC Function     : DBM_EXECUTE
    Command             : exec_lcinit register
    Error               : DBM Error
    Return Code         :     -24964
    Error Message       : ERR_EXECUTE: error in program execution#
    0,sap\lcinit LCQ  register -uDBM , -uDBA , -uSQL ,
    liveCache LCQ (register)
    The liveCache state is ONLINE
    DBMServer 7.6.04   Build 009-123-182-193
    Creating liveCache application procedures
    ERROR : liveCache LCQ not registered (see "s:\sapdb\data\wrk\LCQ\lcinit.log").
    START *****************************
    liveCache LCQ (register)
    Thu 07/30/2009
    10:26 PM
    installation path = S:\sapdb\LCQ\db
    OK
    DBMServer 7.6.04   Build 009-123-182-193
    Creating liveCache application procedures
    ERR
    -24964,ERR_EXECUTE: error in program execution
    1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
    Traceback----
    Error----
    sql.SQLError: [-4008] (at 1) Unknown user name/password combination
    Traceback (most recent call last):
      File "S:\sapdb\LCQ\db\env\lapps.py", line 38, in ?
        connectAndInstall (install, install.__doc__)
      File "S:\sapdb\LCQ\db\env\installib.py", line 398, in connectAndInstall
        session = connect (options)
      File "S:\sapdb\LCQ\db\env\installib.py", line 350, in connect
        alterUserNotExclusive(options)
      File "S:\sapdb\LCQ\db\env\installib.py", line 338, in alterUserNotExclusive
        session.release()
    AttributeError: 'NoneType' object has no attribute 'release'
    ERROR : liveCache LCQ not registered
    Thu 07/30/2009
    10:26 PM
    END ******************************
    Many Thanks,
    TIA,
    Nisch

    Nischal Mahakal wrote:>
    > Hello Experts,
    >
    > After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
    > -24964,ERR_EXECUTE: error in program execution
    > 1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
    > -
    Traceback----
    Hi there,
    looks like you entered "DBADMIN" when you created the liveCache instance in DBMGUI as the DBM Operator.
    For SAP installations, this user is always named "CONTROL".
    So, drop the instance again, recreate it with "CONTROL" and re-do the recovery of the liveCache backup.
    regards,
    Lars

  • Safari 2.0.3 in OS 10.4.5 only remembers site user name/password 25%

    In previous OS Safari behaved itself, but in this version the "do you want Safari to remember your user name/password" only works about 25% of the time.
    Ideas/explanations? BTW I have never used the keychain.
    I have just about given up and reverted to having the different names and passwords in Stickies and enter them manually-- what a PITA!
    Rich
    G4 Dig Audio 733mHz 1.5GB RAM   Mac OS X (10.4.5)   (laptop with same OS and same problems)

    Problem solved by using Firefox.

  • User Name/Password for SQL*Plus

    I installed the Oracle 8i Personal Version in my PC.
    I have been trying to log on to the Oracle SQL*Plus screen, which asks me for the User Name, Password and the Host String.
    Does anybody out there know what I should use here to log on to this screen?
    Thanks in advance.
    Jay
    [email protected]

    Hi,
    Please check old mails and then forward questions.
    User scott/tiger
    DBA system/manager
    SYS sys /change_on_install
    with regards,
    Boby Jose Thekkanath,
    Dharma Computers(P) Ltd.
    Bangalore-India.
    www.dharma.com

  • POP3 -Keep asking for user name & Password

     
    Hi,
    We have exchange 2003 server with Service pack 2. We have user who check their mails through   Outlook 2003, Outlook web access & some users are using POP3 to download the messages.
    Since last few weeks, we are getting the complained that when engineers are trying to configured users account in Outlook with POP3 configuration, its keep asking for user name & password. But with same user name & passwords user is able to check their mail through Outlook web access.
    In some of our site, users are able to download messages through pop3 account but this account was configured long back.
    Kindly advise.

    HI,
    This is happening mainly when
    1. user changed his password through Outlook web access next time its keep poping up for password & it will not accept the new passord.
    2. if user is using  OWA & when we try to configured his mail in Outlool with POP3 .
    See if i remove exchange attributes from user's account & then delete the users from AD & Recreated with same  user name, Password & reconnected  to that user to his old mailbox, it;s work fine.
    Regards,
    Chetan
    POP3 is enabled by default for all the users.

  • I don't know icloud user name&password to login iphone after update ios7

    I don't know icloud user name&password to login iphone after update ios7.
    I try to recovery apple i.d., but nothing.
    I called Thailand service support 001800 4412904.
    He advise me to goto http://expresslane.apple.com/, and send issue form to apple service.
    I wait more than a week, but no reply.
    I have purchased invoice and iphone package to confirm this phone is not stolen.
    How could I do?
    Thank you for your time to reply.

    Unfortunately, the contacting Apple's express lane is all you can do, if you had no luck to reset your password on http://iforgot.apple.com/

  • Auto-update: invalid user name / password

    Hello,
    I have changed out the CCO username and password for an IPS configured for auto-update but cannot get the IPS to correctly update its signature any longer.  I have verified that the CCO login is correct and that it can download a signature file directly using a web browser interface. However, every attempt to get the IPS to update automatically results in the following error:
    Auto Update Statistics
       lastDirectoryReadAttempt = 15:05:29 UTC Mon Sep 29 2014
        =   Read directory: https://72.163.4.161//cgi-bin/front.x/ida/locator/locator.pl
        =   Error: invalid user name/password combination
    (Note: I have the URL set to 'www.cisco.com')
    Thanks,

    FYI - just to close my own issue.
    The issue was resolved by using the cli to set the values and perform a one-time update. Once that was successful, all future signature updates have worked fine through the gui.

  • Invalid user name password

    I am new to using databases and have just downloaded and installed oracle 11g XE to learn more about them, however, having started the database my problem is that I am unable to log in. I keep getting the message invalid user name/password
    Can any one in the community solve this problem as I would love to learn more about databases, as I find it an interesting field.

    set ORACLE_SID=<database name>
    sqlplus / as sysdba
    alter user <username> identified by <password>; -- change the password of the user and try connecting again with the new password

  • [-4008]: Unknown user name/password combination (MaxDB, Java)

    Hey,
    I'm having some troubles to connect to MaxDB using Java. I'm getting some error when I try to run my program.
    import java.sql.*;
    public class Hello
    public static void main(String[] args)
         throws ClassNotFoundException, SQLException
              String username = "DBM";
              String password = "azerty";
              String dbname = "SAPDB";
              Class.forName ("com.sap.dbtech.jdbc.DriverSapDB");
              Connection connection = DriverManager.getConnection("jdbc:sapdb:" + dbname, username, password);
    Exception in thread "main" com.sap.dbtech.jdbc.exceptions.DatabaseException: [-4008]: Unknown user name/password combination
         at com.sap.dbtech.jdbc.packet.ReplyPacket.createException(ReplyPacket.java:69)
         at com.sap.dbtech.jdbc.ConnectionSapDB.throwSQLError(ConnectionSapDB.java:768)
         at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:434)
         at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:325)
         at com.sap.dbtech.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:277)
         at com.sap.dbtech.jdbc.ConnectionSapDB.<init>(ConnectionSapDB.java:81)
         at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:184)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
    I checked the User  and Password  with the GUI (Database manager) and everything works fine.
    I've also added the .jar in my Project Library.
    Any ideas ?
    Thanks

    Looking at your screen shot, it seems the database instance itself hasn't been correctly created because you lack permissions to do so. Subsequently, all your connection attempts basically fail because the database does not exists. I'm no real expert in SAP MaxDB administration on Microsoft Windows, but I read about System Error 5 once in a while earlier, have a look at  [http://www.syseva.com/2009/05/operating-system-error-5-5access-is-denied/|http://www.syseva.com/2009/05/operating-system-error-5-5access-is-denied/]. Overally, I suspect you don't have the permissions you need to have (operating system/file system -wise) in order to create the files belonging to a MaxDB instance (and/or required by the server and tools, such as the dbmsrv ... err file mentioned in the screen). Maybe you should check your system permissions? Are you administrator or member of the appropriate groups [http://maxdb.sap.com/doc/7_7/0e/218650d996419d91f6b234766eadd3/content.htm|http://maxdb.sap.com/doc/7_7/0e/218650d996419d91f6b234766eadd3/content.htm]? As pointed out, I'm no MaxDB/Windows expert, but this seems likely to be a problem as far as your screenshot is concerned.
    Cheers,
    Kristian

  • Dbanalyzer ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").

    Hello Gurus,
    we have a unusual problem with our MaxDB 7.9.8.25
    We want to check the parameter like discribed in note 1111426, but dbanalyzer throws the following error.
    tttadm >/sapdb/TTT/db/bin/dbanalyzer -d TTT -u superdba,****** -f dbanalyzer_InstanceParameterCheck.cfg -o /tmp -i -c 1 -t 1,1
    SAP MaxDB Database Analyzer, The Performance Analysis Tool, Version 7.9.08.25
    Copyright 2000-2014 by SAP AG
    ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").
    But with dbmcli we can connect with the same user.
    tttadm >  dbmcli -d TTT -u superdba,******
    dbmcli on KBP>
    Has anyone a suggestion?!

    Have you tried, if you can actually do SQL with that user? Maybe there is a problem with the SQL authorization?
    Does the following work for you?
    >sqlcli -d tz79 -u dba,dba select * from dual
    | DUMMY |
    | ----- |
    | a   
    1 row selected (1318 usec)
    dbmcli -d tz79 -u dba,dba sql_execute select * from dual
    OK
    END 'a'

  • Upgrade to MaxDB 7.8 fails due to -4008,Unknown user name/password

    Hello,
    I have a strange problem. I try to update a MaxDB 7.7 instance to 7.8.
    I start ./DBUPDATE.SH:
    INFORMATION : This program upgrades the SAP MaxDB database instance
    Do you want to continue the upgrade [Y] :  Y
    Check installation of C++ runtime
    ...execution 12:08:59
    OK
    IndepProgPath : /sapdb/programs
    IndepDataPath : /sapdb/data
    Please enter SAP MaxDB Name    [SID] :  J93
    Please enter SAP System Name   [SID] :  J93
    Please enter DBM User Name [control] :  control
    Please enter DBM User Password       :
    INSTROOT        : /sapdb/J93/db
    Authorization successful
    DB KERNEL       : 64-BIT
    DB VERSION      : 7.7.04 Build 28
    Database instance version supported
    PrivateDataPath : NO
    Check availability of SAP users
    ...execution 12:09:05
    SAP System Administrator   : j93adm
    SAP Database Administrator : sqdj93
    OK
    SAP VERSION     : -4008,Unknown user name/password combination
    Please confirm the upgrade start [Y] :
    Obviously the DBM user and password have been accepted.
    Also I created the xuser entry according to SAP note 39439:
    xuser -U DEFAULT -u SAPJ93DB,password -d J93 -S SAPR3 -n minbbn30 -t 0 -I 0 set
    xuser list
    XUSER Entry  1
    Key           :DEFAULT
    Username      :SAPJ93DB
    UsernameUCS2  :S.A.P.J.9.3.D.B. . . . . . . . . . . . . . . . . . . . . . . . .
    Password      :?????????
    PasswordUCS2  :?????????
    Long Password :?????????
    Dbname        :J93
    Nodename      :minbbn30
    Sqlmode       :SAPR3
    Cachelimit    :-1
    Timeout       :0
    Isolation     :0
    Charset       :<unspecified>
    I can successfully connect to the database with SAPJ93DB:
    dbmcli -u control,password -d J93 sql_connect SAPJ93DB,password
    OK
    So why can't I simply upgrade this MaxDB instance? Is there any logfile of DBUPDATE.SH with more information available?
    Regards,
    Mark

    Hi Mark,
    this error can be ignored (see note 1353266, section IV "Errors during the upgrade").
    Continue the upgrade by answering the question
    SAP VERSION     : -4008,Unknown user name/password combination
    Please confirm the upgrade start [Y] :
    with Y.
    Regards,
    Steffen

  • Can not connect to MaxDB 'Unknown user name/password combination' returned

    Hi,
         I try to make a connection from NWDS 7.2 to MaxDB. So i use the url as 'jdbc:sapdb://127.0.0.1:7210/CE1' to make a connection (by wizard of data source explorer in NWDS).
    I try to entry username and password as below :
    User : 'Administrator' , Pass : 'admin123'
    User : 'SAPJ2EDB' , Pass : 'admin123'
    User : 'superdba' , Pass : 'admin123'
    User : 'control' , Pass : 'admin123'
    So i always got
    com.sap.dbtech.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [-4008]: Unknown user name/password combination
    returned
       I quite sure that 'admin123' is the password for MaxDB because when i try to uninstall the MaxDB it ask me to input password for 'superdba' and 'control'
    How should i do? I remember that when i installed the SAP CE7.2 i had entered just only one password.
    How can i reset the username and password or use default password?
    P.S i try to enter user and pass from this post MAXDB Server,Database,Username and pasword , but it still not work .
    Edited by: Thongie on Jul 14, 2011 2:48 PM

    Hi every one,
        I can solve it. I just restart DB and try agian.

Maybe you are looking for

  • Find none numeric in varchar field

    We have a field that is supposed to store phone numbers, but it is VARCHAR2, don't ask me why it is, but it is and it's not going to be changed or fixed, I am just an end user. Anyways, I would like to scan that entire column and find anything that i

  • Why are the text boxes blacked out since I updated to mountain lionxt boxes since I updated to Mountain Lion

    Ever since I updated to Mountain Lion, I have blacked out text boxes. Can anyone help me? Thanx

  • My Adobe color picker won't appear.

    Hi, I've Googled this without success. For some reason the Adobe color picker is missing from my Photoshop 8.0. I don't know when it went missing. When I double click a swatch in the toolbox or swatches pallet or fill layers or effects window or anyw

  • Playing a large Clip and "Requested buffer too large" exception

    Hi All. Through JavaSound, I am trying to reproduce a WAV audio file that I create within my application. Also the recording/acquisition of the audio file is performed through JavaSound. The WAV audio file that I am trying to play has the following f

  • Why and How to do

    excuse my poor english i have two monitor apple display 20 pouce and 23 pouces buy after and the color are no exactly identic on the two monitor how do to have exactly the identic color on the two monotor because it's penible for video etalonnage   M